-
-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Labels
questionRequest for help or general questionRequest for help or general question
Description
I just discovered this tool, looks super cool!
I am trying to reproduce the completions example: https://github.com/DannyBen/bashly/tree/master/examples/completions but it does not seem to work.
Steps I took:
- in an empty directory, create
bashly.yml - paste the configuration from the example into that file
- Run the following commands, as per the example:
$ bashly init
$ bashly add comp function
$ bashly generate
- Run
./cli. I get the output
cli - Sample application
Usage:
cli [command]
cli [command] --help | -h
cli --version | -v
Commands:
download Download a file
upload Upload a file
Note that, unlike the example, I do not have a completions command
./cli completionsjust prints the same usage information, so I can'tevalthat to enable completions.
bashly generated the following files:
$ tree
├── cli
└── src
├── bashly.yml
├── download_command.sh
├── initialize.sh
├── lib
│ └── send_completions.sh
└── upload_command.sh
2 directories, 6 files
My environment:
I am using bashly through docker, as described in the installation instructions.
$ bashly --version
0.6.4
$ bash --version
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
$ docker image inspect dannyben/bashly
[
{
"Id": "sha256:82d3128ff8617e75c2e58638920f046453dd07759846b209c8bd43b0dd5f7845",
"RepoTags": [
"dannyben/bashly:latest"
],
"RepoDigests": [
"dannyben/bashly@sha256:bf1a326659205b5974657e76d57179ee890abf85f0fda1e960630003effb7aea"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2021-08-27T15:24:07.059809147Z",
...
Am I doing something wrong or is this a bug?
Metadata
Metadata
Assignees
Labels
questionRequest for help or general questionRequest for help or general question