diff --git a/daemon/inertiad/cmd.go b/daemon/inertiad/cmd.go index dd880b6f..8fadf156 100644 --- a/daemon/inertiad/cmd.go +++ b/daemon/inertiad/cmd.go @@ -64,7 +64,7 @@ Created using an RSA private key.`, } var rootCmd = &cobra.Command{ - Use: "inertia", + Use: "inertiad", Short: "The inertia daemon CLI", Version: getVersion(), } diff --git a/daemon/inertiad/doc.go b/daemon/inertiad/doc.go new file mode 100644 index 00000000..121452d5 --- /dev/null +++ b/daemon/inertiad/doc.go @@ -0,0 +1,18 @@ +/* + +Inertiad is Inertia's daemon component. This service runs in the background on +your remote VPS and allows you to monitor and control your deployed application. + +Even though it is built as command line application, inertiad not intended for +direct use - the Inertia daemon is supposed to be deployed as a Docker container, +the image for which can be found here: +https://hub.docker.com/r/ubclaunchpad/inertia/ + +When used, however, it offers two main commands: + + inertiad token # generates and outputs a JWT in stdout + inertiad run # starts daemon service + +*/ + +package main