You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied the example .ahoy.yml from the home page, ending with this:
subcommands:
usage: List the commands from the imported config files.# These commands will be aggregated together with later files overriding earlier ones if they exist.imports:
- ./some-file1.ahoy.yml
- ./some-file2.ahoy.yml
- ./some-file3.ahoy.yml
I then created some-file1.ahoy.yml:
ahoyapi: v2commands:
foo:
cmd: echo "file1 foo"usage: Test command for file1.
and two similar files. I must be doing something wrong:
$ ahoy
[fatal] Command [subcommands] has 'imports' set, but no commands were found. Check your yaml file.
I think a more complete example would help.
The text was updated successfully, but these errors were encountered:
yeah, the examples are super out of date and really incomplete.. there are lots of patterns now across various implementers that would be good to generalize into examples here.
I copied the example
.ahoy.yml
from the home page, ending with this:I then created
some-file1.ahoy.yml
:and two similar files. I must be doing something wrong:
I think a more complete example would help.
The text was updated successfully, but these errors were encountered: