1.7.4 • Published 5 years ago

atalaya v1.7.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

atalaya-cli

Atalaya's CLI client

Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g atalaya
$ atalaya COMMAND
running command...
$ atalaya (-v|--version|version)
atalaya/1.7.4 darwin-x64 node-v8.15.0
$ atalaya --help [COMMAND]
USAGE
  $ atalaya COMMAND
...

Commands

atalaya add RESOURCE

Add resources to Atalaya

USAGE
  $ atalaya add RESOURCE

ARGUMENTS
  RESOURCE  Resource type

OPTIONS
  -n, --name=name  (required) Name

EXAMPLE
  $ atalaya add api-key --name=flower-detection-ios

See code: src/commands/add.ts

atalaya apply

Apply resources to Atalaya

USAGE
  $ atalaya apply

OPTIONS
  -d, --deployTargetName=deployTargetName  Deploy Target name
  -f, --file=file                          File to include
  -t, --tag=tag                            tag for this deployment

EXAMPLE
  $ atalaya apply -f deployment.yaml

See code: src/commands/apply.ts

atalaya autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ atalaya autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ atalaya autocomplete

  $ atalaya autocomplete bash

  $ atalaya autocomplete zsh

  $ atalaya autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

atalaya delete RESOURCE

Delete resources from Atalaya

USAGE
  $ atalaya delete RESOURCE

ARGUMENTS
  RESOURCE  Resource type

OPTIONS
  -n, --name=name  (required) Name

EXAMPLE
  $atalaya delete application --name=flower-detection-ios

See code: src/commands/delete.ts

atalaya deploy NAME

Deploy model

USAGE
  $ atalaya deploy NAME

ARGUMENTS
  NAME  Model name and tag

OPTIONS
  -d, --deployTarget=deployTarget  Deploy target name

  -l, --labels=labels              Labels are key/value pairs that attached to object such as model. Example:
                                   release=test

  -r, --replicas=replicas          Number of replicas

  -t, --tag=tag                    tag for this deployment

EXAMPLE
  $ atalaya deploy detection-model:v1 --labels=framework=tensorflow,model-version=1

See code: src/commands/deploy.ts

atalaya download

Download resources from Atalaya

USAGE
  $ atalaya download

OPTIONS
  --model=model  (required) model name:model tag
  --out=out

See code: src/commands/download.ts

atalaya generate RESOURCE

Generate access token

USAGE
  $ atalaya generate RESOURCE

ARGUMENTS
  RESOURCE  Resource type: access-token

OPTIONS
  --api_name=api_name  API Name

EXAMPLE
  $ atalaya generate access-token --application_name=ios-prod

See code: src/commands/generate.ts

atalaya get RESOURCE NAME

Get resources info from Atalaya

USAGE
  $ atalaya get RESOURCE NAME

ARGUMENTS
  RESOURCE  Resource type: model, deployment
  NAME      Resouce id, name tag...etc

OPTIONS
  -o, --output=json|yaml  Output

EXAMPLES
  $ atalaya get model nothotdog:v1

  $ atalaya get model nothotdog

  $ atalaya get deployment test-cc-fraud

See code: src/commands/get.ts

atalaya help [COMMAND]

display help for atalaya

USAGE
  $ atalaya help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

atalaya list RESOURCE

List resources from Atalaya

USAGE
  $ atalaya list RESOURCE

ARGUMENTS
  RESOURCE  Resource type: models, deployments, api-key

OPTIONS
  -f, --filter=filter     Filter
  -l, --labels=labels     Labels are key/value pairs that attached to object such as model. Example: release=test
  -o, --output=json|yaml  Output
  --debug
  --wide

ALIASES
  $ atalaya ls

EXAMPLES
  $ atalaya list models

  $ atalaya list model

  $ atalaya list models -l release=v1,app=test -f hotdog

  $ atalaya list deployments --labels=release=v1 --filter=detection

See code: src/commands/list.ts

atalaya login

Login to Atalaya.

USAGE
  $ atalaya login

OPTIONS
  -s, --service_url=service_url  service url

EXAMPLES
  $ atalaya login

  $ atalaya login --service_url=https://private_environment.atalaya.io

See code: src/commands/login.ts

atalaya logs

Read Log

USAGE
  $ atalaya logs

OPTIONS
  --deploymentName=deploymentName
  --deploymentTag=deploymentTag    Deployment Tag
  --displayJson                    Display log in json format
  --follow                         Specify if the logs should be streamed.
  --modelName=modelName
  --modelTag=modelTag
  --tail=tail                      Lines of recent log file to display.

ALIASES
  $ atalaya log

EXAMPLE
  $ atalaya log DEPLOYMENT_NAME -f

See code: src/commands/logs.ts

atalaya push NAME FILEPATH

Push model artifact to Atalaya

USAGE
  $ atalaya push NAME FILEPATH

ARGUMENTS
  NAME      Model name and tag
  FILEPATH  Model Artifact path

OPTIONS
  -d, --description=description       Description for the model

  -l, --labels=labels                 Labels are key/value pairs that attached to object such as model. Example:
                                      release=test

  -t, --type=tensorflow|onnx|pytorch  (required) [default: tensorflow] Model type

EXAMPLES
  $ atalaya push fraud-predic:v1.2.0 ./model.pb --type=tensorflow --labels=algo=hmm,type=creditcard

  $ atalaya push shopping-anomaly-detection ./models -t tensorflow -d this model is ready for prod

See code: src/commands/push.ts

atalaya start NAME

Start atalaya resource

USAGE
  $ atalaya start NAME

ARGUMENTS
  NAME  Resouce id, name tag...etc

EXAMPLE
  $ atalaya start release-v1

See code: src/commands/start.ts

atalaya stop NAME

Stop atalaya deployment

USAGE
  $ atalaya stop NAME

ARGUMENTS
  NAME  deployment name

EXAMPLE
  $ atalaya stop release-v1

See code: src/commands/stop.ts

atalaya update [CHANNEL]

update the atalaya CLI

USAGE
  $ atalaya update [CHANNEL]

See code: @oclif/plugin-update