CLI Client Tool
Build and upload your app with a single command.
Installing dg command
Please install dg command from here. Install PageTo verify your dg command installation, use the
dg --version
command.
$ dg --version
dg 0.2.0
Build and Upload
Please rundg deploy
on the root directory of your Android or iOS project.
$ dg deploy
Or you can specify the .apk/.ipa file directly.
$ dg deploy /path/to/app
dg deploy
has several options. For example, --message
for adding a description of the build.Use
dg deploy --help
to see other options.
$ dg deploy --message 'upload message'
$ dg deploy --help
Adding new iOS devices (for iOS Ad Hoc distributions)
When you or your Tester add a new iOS device to DeployGate, you will receive an email that ask you to add the UDID to your provisioning profile.You can do this by just running
dg add-devices
in your terminal.
$ dg add-devices
dg add-devices
can also add a specific UDID by using --udid
option.Run
dg add-devices --help
to see details and other options.
$ dg add-devices --udid 'xxxxxxxxxxxxx'
$ dg add-devices --help
Other commands
Login
Rundg login
to log in. If you run this command on a desktop environment, it opens a new browser window for log in.
$ dg login
If you run this command on a server environment or by running with the
--terminal
option, it asks your credentials on the terminal.
$ dg login --terminal
Logout
Rundg logout
to log out from DeployGate.
$ dg logout
Help
You can see the list of commands anytime by runningdg --help
.
$ dg help
Uninstall
To uninstall dg command, please rungem uninstall deploygate
.
$ gem uninstall deploygate
Other resources
dg command is open source. Feel free to visit GitHub repository to join the discussion!