aboutsummaryrefslogtreecommitdiff
path: root/stage2/BasicBuild.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-06 06:59:23 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 14:59:59 -0400
commit9cf4a6a1023dda70072b76bd881efbd12c2270d1 (patch)
tree9034f832c4277331b726a427a3cd89b1a9f5cdae /stage2/BasicBuild.scala
parent796a9f55e9400fb517ab918ad980a6eeeae58b85 (diff)
downloadcbt-9cf4a6a1023dda70072b76bd881efbd12c2270d1.tar.gz
cbt-9cf4a6a1023dda70072b76bd881efbd12c2270d1.tar.bz2
cbt-9cf4a6a1023dda70072b76bd881efbd12c2270d1.zip
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/BasicBuild.scala')
-rw-r--r--stage2/BasicBuild.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index bc6f9d9..07f717a 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 ==========