Crates.io | appddl |
lib.rs | appddl |
version | 1.1.1 |
source | src |
created_at | 2020-02-13 03:20:10.629384 |
updated_at | 2021-01-19 20:29:19.635056 |
description | Small download tool to automate AppDynamics downloads. |
homepage | |
repository | https://github.com/whitfin/appddl |
max_upload_size | |
id | 207897 |
size | 41,706 |
Extremely small CLI tool used to download archives from AppDynamics.
This tool is meant to assist in automation rather than provide utility for a one-time download. You likely won't find it useful in manual use. It includes everything you need to customize your installation, and is extremely useful for automated builds (as downloads require auth).
You can install appddl
from either this repository, or from Crates (once it's published):
# install from Cargo
$ cargo install appddl
# install the latest from GitHub
$ cargo install --git https://github.com/whitfin/appddl.git
This image is designed to be executed as a single command, to download a file to your host:
$ appddl \
# provide your login credentials
--username 'my-username' \
--password 'my-password' \
# customise the endpoints used on AppDynamics, for future proofing URL changes
--auth-endpoint 'https://identity.msrv.saas.appdynamics.com/v2.0/oauth/token' \
--files-endpoint 'https://download.appdynamics.com/download/downloadfilelatest/' \
# the default output name is the located file name
--output 'golang-sdk-x64-linux-4.3.0.6.tar.gz' \
# the file name or identifier you want to download
'golang-sdk-x64-linux-4.3.0.6.tar.gz'
The following is the automated documentation generated by the tool:
Small download tool to automate AppDynamics downloads.
USAGE:
appddl [OPTIONS] --password <password> --username <username> [indicator]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--auth-endpoint <auth-endpoint> Endpoint to use for authentication
--files-endpoint <files-endpoint> Endpoint to use for listing available files
-o, --output <output> A custom output location for the downloaded file
-p, --password <password> Password used for authentication
-u, --username <username> Username used for authentication
ARGS:
<indicator> A file name or identifier to download