appddl

Crates.ioappddl
lib.rsappddl
version1.1.1
sourcesrc
created_at2020-02-13 03:20:10.629384
updated_at2021-01-19 20:29:19.635056
descriptionSmall download tool to automate AppDynamics downloads.
homepage
repositoryhttps://github.com/whitfin/appddl
max_upload_size
id207897
size41,706
Isaac Whitfield (whitfin)

documentation

README

AppDynamics Downloader (appddl)

Crates.io Build Status

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).

Installation

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

Usage

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
Commit count: 9

cargo fmt