Closed WilliamMcCumstie closed 5 years ago
I think the distinction between if a command is "interactive" or has to be "interactive only" is fairly moot. Technically it is the shell that determines if a command is interactive or not which means the following is perfectly possible (but unwise): top > /tmp/file
As far as the interactive
flags is concerned, it should describe what happens when I run:
adminware run tool my super awesome tool
Now currently this doesn't include interactive commands, but eventually it will. The view tool
command should reflect this behaviour.
The
view tool
command acts as a front end to what is stored within theconfig,yaml
it also prints outs the command name based on thetool's
file path. Finally it works out which files will bescp
based on thetool's
directory.This did require updating how
additional_namespace
works as it had a bug in it (see https://github.com/alces-software/adminware/commit/3b97d6318c802d88b545d9e6046a50a8052f78a3). This PR also implements a properConfig.name
method that combines the tool "name" and namespaces