Skip to main content

Other commands

Log in

$ dg login # or
$ dg login --terminal

This command saves your api token and username to your machine. Several main commands like deploy and/or add_devices request your credentials, so this is required basically. This command will launch a web browser to require you log in.

You need to input login information on the terminal if you run this command on any server environment or --termial option is given.

$ dg login --terminal

Log out

$ dg logout

This command removes saved credentials.

Show information of a login user

$ dg config

This command shows some information of a login user

Show help

$ dg help

This commands help of dg.