aboutsummaryrefslogtreecommitdiff
path: root/stage2
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2017-03-12 15:37:49 -0400
committerGitHub <noreply@github.com>2017-03-12 15:37:49 -0400
commita6eadada6e6d1f9efa1b5edecef5ce42b2099706 (patch)
treec5c1eed7067c7ee119b3a4235dcdfa11797e5302 /stage2
parent8fd9b9e01d763734953f722e1ba33c5025d53e63 (diff)
parent9cf4a6a1023dda70072b76bd881efbd12c2270d1 (diff)
downloadcbt-a6eadada6e6d1f9efa1b5edecef5ce42b2099706.tar.gz
cbt-a6eadada6e6d1f9efa1b5edecef5ce42b2099706.tar.bz2
cbt-a6eadada6e6d1f9efa1b5edecef5ce42b2099706.zip
Merge pull request #415 from cvogt/completions
rename taskNames to complete and pass in current readline buffer in fish for zsh and bash this still needs to be done. Also interpreting the buffer to complete the current command
Diffstat (limited to 'stage2')
-rw-r--r--stage2/BasicBuild.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index d7bdfee..1308155 100644
--- a/stage2/BasicBuild.scala
+++ b/stage2/BasicBuild.scala
@@ -42,7 +42,9 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge
final def help: String = lib.usage(this.getClass, show)
- final def taskNames: String = lib.taskNames(this.getClass).sorted.mkString("\n")
+ final def complete: String = {
+ lib.taskNames(this.getClass).sorted.mkString("\n")
+ }
// ========== meta data ==========