Command string format `pkgname` instead of `pkgname.binary`
Kevin Glavin
archen.sol at gmail.com
Wed Dec 10 21:28:17 UTC 2014
Outside of frameworks, is there a way to define the command name as the
package name instead of a `pkgname.binary`?
For example, I've quickly thrown together an app for Docker Swarm (mostly
to see if I could), but having to run `swarm.swarm [options]` is pretty
silly compared to the documented form provided by the Docker team.
Is the intended alternative to script out separate functions? e.g., instead
of the Docker version `swarm create` write a script for the command
`swarm.swarm create` that is obfuscated as `swarm.create`? Then add
`swarm.join`, `swarm.manage`, etc.?
--
Kevin Glavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20141210/d0fc6d40/attachment.html>
More information about the snappy-app-devel
mailing list