{"id":15446207,"url":"https://github.com/moul/scaleway-cli-v1","last_synced_at":"2026-02-07T05:31:55.630Z","repository":{"id":40411431,"uuid":"295770039","full_name":"moul/scaleway-cli-v1","owner":"moul","description":"💻  Command Line Interface for Scaleway [Initial version]","archived":false,"fork":false,"pushed_at":"2023-04-03T16:15:10.000Z","size":9296,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T12:48:15.610Z","etag":null,"topics":["golang","scaleway-api","scaleway-cli","ssh"],"latest_commit_sha":null,"homepage":"https://manfred.life/scaleway","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["moul"],"patreon":"moul","open_collective":"moul","custom":["https://manfred.life/donate"]}},"created_at":"2020-09-15T15:26:15.000Z","updated_at":"2021-03-18T08:42:50.000Z","dependencies_parsed_at":"2024-02-09T01:02:43.509Z","dependency_job_id":"d1111bdf-d18e-4cca-a932-79a7e01e3ce9","html_url":"https://github.com/moul/scaleway-cli-v1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moul/scaleway-cli-v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fscaleway-cli-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fscaleway-cli-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fscaleway-cli-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fscaleway-cli-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moul","download_url":"https://codeload.github.com/moul/scaleway-cli-v1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fscaleway-cli-v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29187184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","scaleway-api","scaleway-cli","ssh"],"created_at":"2024-10-01T20:00:07.988Z","updated_at":"2026-02-07T05:31:55.614Z","avatar_url":"https://github.com/moul.png","language":"Go","funding_links":["https://github.com/sponsors/moul","https://patreon.com/moul","https://opencollective.com/moul","https://manfred.life/donate"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e⚠️ This version is deprecated! Take a look at current stable version here: \u003ca href=\"https://github.com/scaleway/scaleway-cli\"\u003ehttps://github.com/scaleway/scaleway-cli\u003c/a\u003e ⚠️\u003c/p\u003e\n\n# Scaleway CLI\n\nInteract with Scaleway API from the command line.\n\n[![Build Status (Travis)](https://img.shields.io/travis/scaleway/scaleway-cli.svg)](https://travis-ci.org/scaleway/scaleway-cli)\n[![GoDoc](https://godoc.org/github.com/scaleway/scaleway-cli?status.svg)](https://godoc.org/github.com/scaleway/scaleway-cli)\n[![Packager](https://img.shields.io/badge/Packager-Install-blue.svg?style=flat)](https://packager.io/gh/scaleway/scaleway-cli/install)\n![License](https://img.shields.io/github/license/scaleway/scaleway-cli.svg)\n![Release](https://img.shields.io/github/release/scaleway/scaleway-cli.svg)\n[![IRC](https://www.irccloud.com/invite-svg?channel=%23scaleway\u0026amp;hostname=irc.online.net\u0026amp;port=6697\u0026amp;ssl=1)](https://www.irccloud.com/invite?channel=%23scaleway\u0026amp;hostname=irc.online.net\u0026amp;port=6697\u0026amp;ssl=1)\n[![Go Report Card](https://goreportcard.com/badge/github.com/scaleway/scaleway-cli)](https://goreportcard.com/report/github.com/scaleway/scaleway-cli)\n\n![Scaleway](./assets/scaleway.png)\n\n#### Quick look\n\n![Scaleway CLI demo](./assets/terminal-main-demo.gif)\n\nRead the [blog post](https://blog.scaleway.com/2015/05/20/manage-baremetal-servers-with-scaleway-cli/).\n\n#### Table of Contents\n\n1. [Overview](#overview)\n2. [Setup](#setup)\n  * [Requirements](#requirements)\n  * [Run in Docker](#run-in-docker)\n3. [Use in Golang](#use-in-golang)\n4. [Usage](#usage)\n  * [Quick Start](#quick-start)\n  * [Workflows](#workflows)\n  * [Commands](#commands)\n    * [`help [COMMAND]`](#scw-help)\n    * [`attach [OPTIONS] SERVER`](#scw-attach)\n    * [`commit [OPTIONS] SERVER [NAME]`](#scw-commit)\n    * [`cp [OPTIONS] SERVER:PATH|HOSTPATH|- SERVER:PATH|HOSTPATH|-`](#scw-cp)\n    * [`create [OPTIONS] IMAGE`](#scw-create)\n    * [`events [OPTIONS]`](#scw-events)\n    * [`exec [OPTIONS] SERVER [COMMAND] [ARGS...]`](#scw-exec)\n    * [`history [OPTIONS] IMAGE`](#scw-history)\n    * [`images [OPTIONS]`](#scw-images)\n    * [`info [OPTIONS]`](#scw-info)\n    * [`inspect [OPTIONS] IDENTIFIER [IDENTIFIER...]`](#scw-inspect)\n    * [`kill [OPTIONS] SERVER`](#scw-kill)\n    * [`login [OPTIONS]`](#scw-login)\n    * [`logout [OPTIONS]`](#scw-logout)\n    * [`logs [OPTIONS] SERVER`](#scw-logs)\n    * [`port [OPTIONS] SERVER [PRIVATE_PORT[/PROTO]]`](#scw-port)\n    * [`products [OPTIONS]` PRODUCT](#scw-products)\n    * [`ps [OPTIONS]`](#scw-ps)\n    * [`rename [OPTIONS] SERVER NEW_NAME`](#scw-rename)\n    * [`restart [OPTIONS] SERVER [SERVER...]`](#scw-restart)\n    * [`rm [OPTIONS] SERVER [SERVER...]`](#scw-rm)\n    * [`rmi [OPTIONS] IMAGE [IMAGE...]`](#scw-rmi)\n    * [`run [OPTIONS] IMAGE [COMMAND] [ARGS...]`](#scw-run)\n    * [`search [OPTIONS] TERM`](#scw-search)\n    * [`start [OPTIONS] SERVER [SERVER...]`](#scw-start)\n    * [`stop [OPTIONS] SERVER [SERVER...]`](#scw-stop)\n    * [`tag [OPTIONS] SNAPSHOT NAME`](#scw-tag)\n    * [`top [OPTIONS] SERVER`](#scw-top)\n    * [`version [OPTIONS]`](#scw-version)\n    * [`wait [OPTIONS] SERVER [SERVER...]`](#scw-wait)\n  * [Examples](#examples)\n5. [Changelog](#changelog)\n6. [Development](#development)\n  * [Hack](#hack)\n7. [License](#license)\n\n## Overview\n\nA command-line tool to manage Scaleway servers **à-la-Docker**.\n\nFor node version, check out [scaleway-cli-node](https://github.com/moul/scaleway-cli-node).\n\n## Setup\n\nAll release artifacts are available on the [latest release page](https://github.com/scaleway/scaleway-cli/releases/latest).\n\nInstall the latest stable release on Mac OS X manually:\n\n```bash\n# prepare for first install and upgrade\nmkdir -p /usr/local/bin\nmv /usr/local/bin/scw /tmp/scw.old\n\n# get latest release\nwget \"https://github.com/scaleway/scaleway-cli/releases/download/v1.20/scw-darwin-amd64\" -O /usr/local/bin/scw\n\n# test\nscw version\n```\n\nInstall the latest release on Linux:\n\n```bash\n# get latest release\nexport ARCH=amd64  # can be 'i386', 'amd64' or 'armhf'\nwget \"https://github.com/scaleway/scaleway-cli/releases/download/v1.20/scw_1.20_${ARCH}.deb\" -O /tmp/scw.deb\ndpkg -i /tmp/scw.deb \u0026\u0026 rm -f /tmp/scw.deb\n\n# test\nscw version\n```\n\n### Requirements\n\nBy using the [static-compiled release binaries](https://github.com/scaleway/scaleway-cli/releases/latest), you only needs to have one of the following platform+architecture :\n\nPlatform          | Architecture\n------------------|-------------------------------------------\nDarwin (Mac OS X) | `i386`, `x86_64`\nFreeBSD           | `arm`, `i386`, `x86_64`\nLinux             | `arm`, `armv7`, `armv7`, `i386`, `x86_64`\nWindows           | `x86_64`\n\n\n### Run in Docker\n\nYou can run scaleway-cli in a sandboxed way using Docker.\n\n:warning: caching is disabled\n\n```console\n$ docker run -it --rm --volume=$HOME/.scwrc:/.scwrc scaleway/cli:v1 ps\n```\n\n### Manual build\n\n1. [Install go](https://golang.org/doc/install) a version `\u003e= 1.11`\n2. Ensure you have `$GOPATH` and `$PATH` well configured, something like:\n  * `export GOPATH=$HOME/go`\n  * `export PATH=$PATH:$GOPATH/bin`\n  * `export GO15VENDOREXPERIMENT=1`\n3. Install the project: `go get github.com/scaleway/scaleway-cli/...`\n4. Run: `scw`\n\n## Use in Golang\n\nScaleway-cli is written in Go, the code is splitted across multiple `go-get`able [packages](https://github.com/scaleway/scaleway-cli/tree/master/pkg)\n\n* [Scaleway API Go client](https://github.com/scaleway/scaleway-cli/tree/master/pkg/api)\n\n## Usage\n\nUsage inspired by [Docker CLI](https://docs.docker.com/engine/reference/commandline/cli/)\n\n```console\n$ scw\nUsage: scw [OPTIONS] COMMAND [arg...]\n\nInteract with Scaleway from the command line.\n\nOptions:\n -h, --help=false             Print usage\n -D, --debug=false            Enable debug mode\n -V, --verbose=false          Enable verbose mode\n -q, --quiet=false            Enable quiet mode\n --sensitive=false            Show sensitive data in outputs, i.e. API Token/Organization\n -v, --version=false          Print version information and quit\n --region=par1                Change the default region (e.g. ams1)\n -c, --config=\u003cconfig path\u003e   Option config file path (default to ~/.scwrc)\n\nCommands:\n    help      help of the scw command line\n    attach    Attach to a server serial console\n    commit    Create a new snapshot from a server's volume\n    cp        Copy files/folders from a PATH on the server to a HOSTDIR on the host\n    create    Create a new server but do not start it\n    events    Get real time events from the API\n    exec      Run a command on a running server\n    history   Show the history of an image\n    images    List images\n    info      Display system-wide information\n    inspect   Return low-level information on a server, image, snapshot, volume or bootscript\n    kill      Kill a running server\n    login     Log in to Scaleway API\n    logout    Log out from the Scaleway API\n    logs      Fetch the logs of a server\n    port      Lookup the public-facing port that is NAT-ed to PRIVATE_PORT\n    products  Display products information\n    ps        List servers\n    rename    Rename a server\n    restart   Restart a running server\n    rm        Remove one or more servers\n    rmi       Remove one or more image(s)/volume(s)/snapshot(s)\n    run       Run a command in a new server\n    search    Search the Scaleway Hub for images\n    start     Start a stopped server\n    stop      Stop a running server\n    tag       Tag a snapshot into an image\n    top       Lookup the running processes of a server\n    version   Show the version information\n    wait      Block until a server stops\n\nRun 'scw COMMAND --help' for more information on a command.\n```\n\n### Quick start\n\nLogin\n\n```console\n$ scw login\nLogin (cloud.scaleway.com): xxxx@xx.xx\nPassword:\n$\n```\n\nRun a new server `my-ubuntu`\n\n```console\n$ scw run --name=my-ubuntu ubuntu-trusty bash\n   [...] wait about a minute for the first boot\nroot@my-ubuntu:~#\n```\n\n:warning: when running a command through ssh (top, kill, run, cp, logs, exec,...), make sure your ssh key permissions are correctly set or you know the root password.\n\n### Workflows\n\nSee [./examples/](https://github.com/scaleway/scaleway-cli/tree/master/examples) directory\n\n\n### Commands\n\n#### `scw attach`\n\n```console\nUsage: scw attach [OPTIONS] SERVER\n\nAttach to a running server serial console.\n\nOptions:\n\n  -h, --help=false      Print usage\n  --no-stdin=false      Do not attach stdin\n\nExamples:\n\n    $ scw attach my-running-server\n    $ scw attach $(scw start my-stopped-server)\n    $ scw attach $(scw start $(scw create ubuntu-vivid))\n```\n\n\n#### `scw commit`\n\n```console\nUsage: scw commit [OPTIONS] SERVER [NAME]\n\nCreate a new snapshot from a server's volume.\n\nOptions:\n\n  -h, --help=false      Print usage\n  -v, --volume=0        Volume slot\n\nExamples:\n\n    $ scw commit my-stopped-server\n    $ scw commit -v 1 my-stopped-server\n```\n\n\n#### `scw cp`\n\n```console\nUsage: scw cp [OPTIONS] SERVER:PATH|HOSTPATH|- SERVER:PATH|HOSTPATH|-\n\nCopy files/folders from a PATH on the server to a HOSTDIR on the host\nrunning the command. Use '-' to write the data as a tar file to STDOUT.\n\nOptions:\n\n  -g, --gateway=\"\"      Use a SSH gateway\n  -h, --help=false      Print usage\n  -p, --port=22         Specify SSH port\n  --user=root           Specify SSH user\n\nExamples:\n\n    $ scw cp path/to/my/local/file myserver:path\n    $ scw cp --gateway=myotherserver path/to/my/local/file myserver:path\n    $ scw cp myserver:path/to/file path/to/my/local/dir\n    $ scw cp myserver:path/to/file myserver2:path/to/dir\n    $ scw cp myserver:path/to/file - \u003e myserver-pathtofile-backup.tar\n    $ scw cp myserver:path/to/file - | tar -tvf -\n    $ scw cp path/to/my/local/dir  myserver:path\n    $ scw cp myserver:path/to/dir  path/to/my/local/dir\n    $ scw cp myserver:path/to/dir  myserver2:path/to/dir\n    $ scw cp myserver:path/to/dir  - \u003e myserver-pathtodir-backup.tar\n    $ scw cp myserver:path/to/dir  - | tar -tvf -\n    $ cat archive.tar | scw cp - myserver:/path\n    $ tar -cvf - . | scw cp - myserver:path\n```\n\n\n#### `scw create`\n\n```console\nUsage: scw create [OPTIONS] IMAGE\n\nCreate a new server but do not start it.\n\nOptions:\n\n  --boot-type=auto         Choose between 'local' and 'bootscript' boot\n  --bootscript=\"\"          Assign a bootscript\n  --commercial-type=DEV1-S Create a server with specific commercial-type DEV1-[S|M|L|XL], GP1-[XS|S|M|L|XL], RENDER-S\n  -e, --env=\"\"             Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)\n  -h, --help=false         Print usage\n  --ip-address=dynamic     Assign a reserved public IP, a 'dynamic' one or 'none'\n  --ipv6=false             Enable IPV6\n  --name=\"\"                Assign a name\n  --tmp-ssh-key=false      Access your server without uploading your SSH key to your account\n  -v, --volume=\"\"          Attach additional volume (i.e., 50G)\n\nExamples:\n\n    $ scw create docker\n    $ scw create 10GB\n    $ scw create --bootscript=3.2.34 --env=\"boot=live rescue_image=http://j.mp/scaleway-ubuntu-trusty-tarball\" 50GB\n    $ scw inspect $(scw create 1GB --bootscript=rescue --volume=50GB)\n    $ scw create $(scw tag my-snapshot my-image)\n    $ scw create --tmp-ssh-key 10GB\n```\n\n\n#### `scw events`\n\n```console\nUsage: scw events [OPTIONS]\n\nGet real time events from the API.\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n#### `scw exec`\n\n```console\nUsage: scw exec [OPTIONS] SERVER [COMMAND] [ARGS...]\n\nRun a command on a running server.\n\nOptions:\n\n  -A=false              Enable SSH keys forwarding\n  -g, --gateway=\"\"      Use a SSH gateway\n  -h, --help=false      Print usage\n  --no-tty=false        Disable pseudo-terminal allocation\n  -p, --port=22         Specify SSH port\n  -T, --timeout=0       Set timeout values to seconds\n  --user=root           Specify SSH user\n  -w, --wait=false      Wait for SSH to be ready\n\nExamples:\n\n    $ scw exec myserver\n    $ scw exec myserver bash\n    $ scw exec --gateway=myotherserver myserver bash\n    $ scw exec myserver 'tmux a -t joe || tmux new -s joe || bash'\n    $ SCW_SECURE_EXEC=1 scw exec myserver bash\n    $ scw exec -w $(scw start $(scw create ubuntu-bionic)) bash\n    $ scw exec $(scw start -w $(scw create ubuntu-bionic)) bash\n    $ scw exec myserver tmux new -d sleep 10\n    $ scw exec myserver ls -la | grep password\n    $ cat local-file | scw exec myserver 'cat \u003e remote/path'\n    $ MYVAR=$(scw exec myserver echo hello)\n```\n\n\n#### `scw help`\n\n```console\nUsage: scw help [COMMAND]\n\n\nHelp prints help information about scw and its commands.\n\nBy default, help lists available commands with a short description.\nWhen invoked with a command name, it prints the usage and the help of\nthe command.\n\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n#### `scw history`\n\n```console\nUsage: scw history [OPTIONS] IMAGE\n\nShow the history of an image.\n\nOptions:\n\n  --arch=*              Specify architecture\n  -h, --help=false      Print usage\n  --no-trunc=false      Don't truncate output\n  -q, --quiet=false     Only show numeric IDs\n```\n\n\n#### `scw images`\n\n```console\nUsage: scw images [OPTIONS]\n\nList images.\n\nOptions:\n\n  -a, --all=false       Show all images\n  -f, --filter=\"\"       Filter output based on conditions provided\n  -h, --help=false      Print usage\n  --no-trunc=false      Don't truncate output\n  -q, --quiet=false     Only show numeric IDs\n\nExamples:\n\n    $ scw images\n    $ scw images -a\n    $ scw images -q\n    $ scw images --no-trunc\n    $ scw images -f organization=me\n    $ scw images -f organization=official-distribs\n    $ scw images -f organization=official-apps\n    $ scw images -f organization=UUIDOFORGANIZATION\n    $ scw images -f name=ubuntu\n    $ scw images -f type=image\n    $ scw images -f type=bootscript\n    $ scw images -f type=snapshot\n    $ scw images -f type=volume\n    $ scw images -f public=true\n    $ scw images -f public=false\n    $ scw images -f \"organization=me type=volume\" -qsc\n```\n\n\n#### `scw info`\n\n```console\nUsage: scw info [OPTIONS]\n\nDisplay system-wide information.\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n#### `scw inspect`\n\n```console\nUsage: scw inspect [OPTIONS] IDENTIFIER [IDENTIFIER...]\n\nReturn low-level information on a server, image, snapshot, volume or bootscript.\n\nOptions:\n\n  --arch=*              Specify architecture\n  -b, --browser=false   Inspect object in browser\n  -f, --format=\"\"       Format the output using the given go template\n  -h, --help=false      Print usage\n\nExamples:\n\n    $ scw inspect my-server\n    $ scw inspect server:my-server\n    $ scw inspect --browser my-server\n    $ scw inspect a-public-image\n    $ scw inspect image:a-public-image\n    $ scw inspect my-snapshot\n    $ scw inspect snapshot:my-snapshot\n    $ scw inspect my-volume\n    $ scw inspect volume:my-volume\n    $ scw inspect my-image\n    $ scw inspect image:my-image\n    $ scw inspect my-server | jq '.[0].public_ip.address'\n    $ scw inspect $(scw inspect my-image | jq '.[0].root_volume.id')\n    $ scw inspect -f \"{{ .PublicAddress.IP }}\" my-server\n    $ scw --sensitive inspect my-server\n```\n\n\n#### `scw kill`\n\n```console\nUsage: scw kill [OPTIONS] SERVER\n\nKill a running server.\n\nOptions:\n\n  -g, --gateway=\"\"      Use a SSH gateway\n  -h, --help=false      Print usage\n```\n\n\n#### `scw login`\n\n```console\nUsage: scw login [OPTIONS]\n\nGenerates a configuration file in '/home/$USER/.scwrc'\ncontaining credentials used to interact with the Scaleway API. This\nconfiguration file is automatically used by the 'scw' commands.\n\nYou can get your credentials on https://cloud.scaleway.com/#/credentials\n\n\nOptions:\n\n  -h, --help=false      Print usage\n  -o, --organization=\"\" Organization\n  -s, --skip-ssh-key=false Don't ask to upload an SSH Key\n  -t, --token=\"\"        Token\n```\n\n\n#### `scw logout`\n\n```console\nUsage: scw logout [OPTIONS]\n\nLog out from the Scaleway API.\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n#### `scw logs`\n\n```console\nUsage: scw logs [OPTIONS] SERVER\n\nFetch the logs of a server.\n\nOptions:\n\n  -g, --gateway=\"\"      Use a SSH gateway\n  -h, --help=false      Print usage\n  -p, --port=22         Specify SSH port\n  --user=root           Specify SSH user\n```\n\n\n#### `scw port`\n\n```console\nUsage: scw port [OPTIONS] SERVER [PRIVATE_PORT[/PROTO]]\n\nList port mappings for the SERVER, or lookup the public-facing port that is NAT-ed to the PRIVATE_PORT\n\nOptions:\n\n  -g, --gateway=\"\"      Use a SSH gateway\n  -h, --help=false      Print usage\n  -p, --port=22         Specify SSH port\n  --user=root           Specify SSH user\n```\n\n\n#### `scw products`\n\n```console\nUsage: scw products [OPTIONS] PRODUCT\n\nDisplay products PRODUCT information.\n\nOptions:\n\n  -s, --short           Print only commercial names\n```\n\n\n#### `scw ps`\n\n```console\nUsage: scw ps [OPTIONS]\n\nList servers. By default, only running and stopped in place servers are displayed.\n\nOptions:\n\n  -a, --all=false       Show all servers. Only running servers are shown by default\n  -f, --filter=\"\"       Filter output based on conditions provided\n  -h, --help=false      Print usage\n  -l, --latest=false    Show only the latest created server, include non-running ones\n  -n=0                  Show n last created servers, include non-running ones\n  --no-trunc=false      Don't truncate output\n  -q, --quiet=false     Only display numeric IDs\n\nExamples:\n\n    $ scw ps\n    $ scw ps -a\n    $ scw ps -l\n    $ scw ps -n=10\n    $ scw ps -q\n    $ scw ps --no-trunc\n    $ scw ps -f state=booted\n    $ scw ps -f state=running\n    $ scw ps -f state=stopped\n    $ scw ps -f ip=212.47.229.26\n    $ scw ps -f tags=prod\n    $ scw ps -f tags=boot=live\n    $ scw ps -f image=docker\n    $ scw ps -f image=alpine\n    $ scw ps -f image=UUIDOFIMAGE\n    $ scw ps -f arch=ARCH\n    $ scw ps -f server-type=COMMERCIALTYPE\n    $ scw ps -f \"state=booted image=docker tags=prod\"\n```\n\n\n#### `scw rename`\n\n```console\nUsage: scw rename [OPTIONS] SERVER NEW_NAME\n\nRename a server.\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n#### `scw restart`\n\n```console\nUsage: scw restart [OPTIONS] SERVER [SERVER...]\n\nRestart a running server.\n\nOptions:\n\n  -h, --help=false      Print usage\n  -T, --timeout=0       Set timeout values to seconds\n  -w, --wait=false      Synchronous restart. Wait for SSH to be ready\n```\n\n\n#### `scw rm`\n\n```console\nUsage: scw rm [OPTIONS] SERVER [SERVER...]\n\nRemove one or more servers.\n\nOptions:\n\n  -f, --force=false     Force the removal of a server\n  -h, --help=false      Print usage\n\nExamples:\n\n    $ scw rm myserver\n    $ scw rm -f myserver\n    $ scw rm my-stopped-server my-second-stopped-server\n    $ scw rm $(scw ps -q)\n    $ scw rm $(scw ps | grep mysql | awk '{print $1}')\n```\n\n\n#### `scw rmi`\n\n```console\nUsage: scw rmi [OPTIONS] IDENTIFIER [IDENTIFIER...]\n\nRemove one or more image(s)/volume(s)/snapshot(s)\n\nOptions:\n\n  -h, --help=false      Print usage\n\nExamples:\n\n    $ scw rmi myimage\n    $ scw rmi mysnapshot\n    $ scw rmi myvolume\n    $ scw rmi $(scw images -q)\n```\n\n\n#### `scw run`\n\n```console\nUsage: scw run [OPTIONS] IMAGE [COMMAND] [ARG...]\n\nRun a command in a new server.\n\nOptions:\n\n  -a, --attach=false       Attach to serial console\n  --boot-type=auto         Choose between 'local' and 'bootscript' boot\n  --bootscript=\"\"          Assign a bootscript\n  --commercial-type=DEV1-S Start a server with specific commercial-type DEV1-[S|M|L|XL], GP1-[XS|S|M|L|XL], RENDER-S\n  -d, --detach=false       Run server in background and print server ID\n  -e, --env=\"\"             Provide metadata tags passed to initrd (i.e., boot=rescue INITRD_DEBUG=1)\n  -g, --gateway=\"\"         Use a SSH gateway\n  -h, --help=false         Print usage\n  --ip-address=\"\"          Assign a reserved public IP, a 'dynamic' one or 'none' (default to 'none' if gateway specified, 'dynamic' otherwise)\n  --ipv6=false             Enable IPV6\n  --name=\"\"                Assign a name\n  --no-tty=false           Disable pseudo-terminal allocation\n  -p, --port=22            Specify SSH port\n  --rm=false               Automatically remove the server when it exits\n  --show-boot=false        Allows to show the boot\n  -T, --timeout=0          Set timeout value to seconds\n  --tmp-ssh-key=false      Access your server without uploading your SSH key to your account\n  -u, --userdata=\"\"        Start a server with userdata predefined\n  --user=root              Specify SSH User\n  -v, --volume=\"\"          Attach additional volume (i.e., 50G)\n\nExamples:\n\n    $ scw run ubuntu-trusty\n    $ scw run --commercial-type=DEV1-S ubuntu-trusty\n    $ scw run --show-boot --commercial-type=DEV1-S ubuntu-trusty\n    $ scw run --rm ubuntu-trusty\n    $ scw run -a --rm ubuntu-trusty\n    $ scw run --gateway=myotherserver ubuntu-trusty\n    $ scw run ubuntu-trusty bash\n    $ scw run --name=mydocker docker docker run moul/nyancat:armhf\n    $ scw run --bootscript=3.2.34 --env=\"boot=live rescue_image=http://j.mp/scaleway-ubuntu-trusty-tarball\" 50GB bash\n    $ scw run --attach alpine\n    $ scw run --detach alpine\n    $ scw run --tmp-ssh-key alpine\n    $ scw run --userdata=\"FOO=BAR FILE=@/tmp/file\" alpine\n```\n\n---\n\n```\n┌ ─ ─ ─ ─ ─ scw run docker  ─ ─ ─ ─ ┐\n\n│   ┌───────────────────────────┐   │\n    │server=$(scw create docker)│\n│   └───────────────────────────┘   │\n                  +\n│        ┌─────────────────┐        │\n         │scw start $SERVER│\n│        └─────────────────┘        │\n                  +\n│┌─────────────────────────────────┐│\n │scw exec --wait $SERVER /bin/bash│\n│└─────────────────────────────────┘│\n ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─\n```\n\n#### `scw search`\n\n```console\nUsage: scw search [OPTIONS] TERM\n\nSearch the Scaleway Hub for images.\n\nOptions:\n\n  -h, --help=false      Print usage\n  --no-trunc=false      Don't truncate output\n```\n\n\n#### `scw start`\n\n```console\nUsage: scw start [OPTIONS] SERVER [SERVER...]\n\nStart a stopped server.\n\nOptions:\n\n  -h, --help=false      Print usage\n  -T, --timeout=0       Set timeout values to seconds\n  -w, --wait=false      Synchronous start. Wait for SSH to be ready\n```\n\n\n#### `scw stop`\n\n```console\nUsage: scw stop [OPTIONS] SERVER [SERVER...]\n\nStop a running server.\n\nOptions:\n\n  -h, --help=false      Print usage\n  -t, --terminate=false Stop and trash a server with its volumes\n  -w, --wait=false      Synchronous stop. Wait for SSH to be ready\n\nExamples:\n\n    $ scw stop my-running-server my-second-running-server\n    $ scw stop -t my-running-server my-second-running-server\n    $ scw stop $(scw ps -q)\n    $ scw stop $(scw ps | grep mysql | awk '{print $1}')\n    $ scw stop server \u0026\u0026 scw wait server\n    $ scw stop -w server\n```\n\n\n#### `scw tag`\n\n```console\nUsage: scw tag [OPTIONS] SNAPSHOT NAME\n\nTag a snapshot into an image.\n\nOptions:\n\n  -h, --help=false      Print usage\n  --bootscript=\"\"       Assign a bootscript\n```\n\n\n#### `scw top`\n\n```console\nUsage: scw top [OPTIONS] SERVER\n\nLookup the running processes of a server.\n\nOptions:\n\n  -g, --gateway=\"\"      Use a SSH gateway\n  -h, --help=false      Print usage\n  -p, --port=22         Specify SSH port\n  --user=root           Specify SSH user\n```\n\n\n#### `scw version`\n\n```console\nUsage: scw version [OPTIONS]\n\nShow the version information.\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n#### `scw wait`\n\n```console\nUsage: scw wait [OPTIONS] SERVER [SERVER...]\n\nBlock until a server stops.\n\nOptions:\n\n  -h, --help=false      Print usage\n```\n\n\n---\n\n### Examples\n\nCreate a server with Ubuntu Trusty image and 3.2.34 bootscript\n\n```console\n$ scw create --bootscript=3.2.34 trusty\ndf271f73-60ce-47fd-bd7b-37b5f698d8b2\n```\n\n\nCreate a server with Fedora 21 image\n\n```console\n$ scw create 1f164079\n7313af22-62bf-4df1-9dc2-c4ffb4cb2d83\n```\n\n\nCreate a server with an empty disc of 20G and rescue bootscript\n\n```console\n$ scw create --bootscript=rescue 20G\n5cf8058e-a0df-4fc3-a772-8d44e6daf582\n```\n\n\nRun a stopped server\n\n```console\n$ scw start 7313af22\n7313af22-62bf-4df1-9dc2-c4ffb4cb2d83\n```\n\n\nRun a stopped server and wait for SSH to be ready\n\n```console\n$ scw start --wait myserver\nmyserver\n$ scw exec myserver /bin/bash\n[root@noname ~]#\n```\n\nRun a stopped server and wait for SSH to be ready (inline version)\n\n```console\n$ scw exec $(scw start --wait myserver) /bin/bash\n[root@noname ~]#\n```\n\n\nCreate, start and ssh to a new server (inline version)\n\n```console\n$ scw exec $(scw start --wait $(scw create ubuntu-trusty)) /bin/bash\n[root@noname ~]#\n```\n\nor\n\n```console\n$ scw exec --wait $(scw start $(scw create ubuntu-trusty)) /bin/bash\n[root@noname ~]#\n```\n\n\nWait for a server to be available, then execute a command\n\n```console\n$ scw exec --wait myserver /bin/bash\n[root@noname ~]#\n```\n\nRun a command in background\n\n```console\n$ scw exec alpine tmux new -d \"sleep 10\"\n```\n\nRun a stopped server and wait for SSH to be ready with a global timeout of 150 seconds\n\n```console\n$ scw start --wait --timeout=150 myserver\nglobal execution... failed: Operation timed out.\n```\n\n\nWait for a server to be in 'stopped' state\n\n```console\n$ scw wait 7313af22\n[...] some seconds later\n0\n```\n\n\nAttach to server serial port\n\n```console\n$ scw attach 7313af22\n[RET]\nUbuntu Vivid Vervet (development branch) nfs-server ttyS0\nmy-server login:\n^C\n$\n```\n\n\nCreate a server with Fedora 21 image and start it\n\n```console\n$ scw start `scw create 1f164079`\n5cf8058e-a0df-4fc3-a772-8d44e6daf582\n```\n\n\nExecute a 'ls -la' on a server (via SSH)\n\n```console\n$ scw exec myserver ls -la\ntotal 40\ndrwx------.  4 root root 4096 Mar 26 05:56 .\ndrwxr-xr-x. 18 root root 4096 Mar 26 05:56 ..\n-rw-r--r--.  1 root root   18 Jun  8  2014 .bash_logout\n-rw-r--r--.  1 root root  176 Jun  8  2014 .bash_profile\n-rw-r--r--.  1 root root  176 Jun  8  2014 .bashrc\n-rw-r--r--.  1 root root  100 Jun  8  2014 .cshrc\ndrwxr-----.  3 root root 4096 Mar 16 06:31 .pki\n-rw-rw-r--.  1 root root 1240 Mar 12 08:16 .s3cfg.sample\ndrwx------.  2 root root 4096 Mar 26 05:56 .ssh\n-rw-r--r--.  1 root root  129 Jun  8  2014 .tcshrc\n```\n\n\nRun a shell on a server (via SSH)\n\n```console\n$ scw exec 5cf8058e /bin/bash\n[root@noname ~]#\n```\n\n\nList public images and my images\n\n```console\n$ scw images\nREPOSITORY                                 TAG      IMAGE ID   CREATED        VIRTUAL SIZE\nuser/Alpine_Linux_3_1                      latest   854eef72   10 days ago    50 GB\nDebian_Wheezy_7_8                          latest   cd66fa55   2 months ago   20 GB\nUbuntu_Utopic_14_10                        latest   1a702a4e   4 months ago   20 GB\n...\n```\n\n\nList public images, my images and my snapshots\n\n```console\n$ scw images -a\nREPOSITORY                                 TAG      IMAGE ID   CREATED        VIRTUAL SIZE\nnoname-snapshot                            \u003cnone\u003e   54df92d1   a minute ago   50 GB\ncool-snapshot                              \u003cnone\u003e   0dbbc64c   11 hours ago   20 GB\nuser/Alpine_Linux_3_1                      latest   854eef72   10 days ago    50 GB\nDebian_Wheezy_7_8                          latest   cd66fa55   2 months ago   20 GB\nUbuntu_Utopic_14_10                        latest   1a702a4e   4 months ago   20 GB\n```\n\n\nList running servers\n\n```console\n$ scw ps\nSERVER ID   IMAGE                       COMMAND   CREATED          STATUS    PORTS   NAME\n7313af22    user/Alpine_Linux_3_1                 13 minutes ago   running           noname\n32070fa4    Ubuntu_Utopic_14_10                   36 minutes ago   running           labs-8fe556\n```\n\n\nList all servers\n\n```console\n$ scw ps -a\nSERVER ID   IMAGE                       COMMAND   CREATED          STATUS    PORTS   NAME\n7313af22    user/Alpine_Linux_3_1                 13 minutes ago   running           noname\n32070fa4    Ubuntu_Utopic_14_10                   36 minutes ago   running           labs-8fe556\n7fc76a15    Ubuntu_Utopic_14_10                   11 hours ago     stopped           backup\n```\n\n\nStop a running server\n\n```console\n$ scw stop 5cf8058e\n5cf8058e\n```\n\n\nStop multiple running servers\n\n```console\n$ scw stop myserver myotherserver\n901d082d-9155-4046-a49d-94355344246b\na0320ec6-141f-4e99-bf33-9e1a9de34171\n```\n\n\nTerminate a running server\n\n```console\n$ scw stop -t myserver\n901d082d-9155-4046-a49d-94355344246b\n```\n\n\nStop all running servers matching 'mysql'\n\n```console\n$ scw stop $(scw ps | grep mysql | awk '{print $1}')\n901d082d-9155-4046-a49d-94355344246b\na0320ec6-141f-4e99-bf33-9e1a9de34171\n36756e6e-3146-4b89-8248-abb060fc5b61\n```\n\n\nCreate a snapshot of the root volume of a server\n\n```console\n$ scw commit 5cf8058e\n54df92d1\n```\n\n\nDelete a stopped server\n\n```console\n$ scw rm 5cf8\n5cf8082d-9155-4046-a49d-94355344246b\n```\n\n\nDelete multiple stopped servers\n\n```console\n$ scw rm myserver myotherserver\n901d082d-9155-4046-a49d-94355344246b\na0320ec6-141f-4e99-bf33-9e1a9de34171\n```\n\n\nDelete all stopped servers matching 'mysql'\n\n```console\n$ scw rm $(scw ps -a | grep mysql | awk '{print $1}')\n901d082d-9155-4046-a49d-94355344246b\na0320ec6-141f-4e99-bf33-9e1a9de34171\n36756e6e-3146-4b89-8248-abb060fc5b61\n```\n\n\nCreate a snapshot of nbd1\n\n```console\n$ scw commit 5cf8058e -v 1\nf1851f99\n```\n\n\nCreate an image based on a snapshot\n\n```console\n$ scw tag 87f4526b my_image\n46689419\n```\n\n\nDelete an image\n\n```console\n$ scw rmi 46689419\n```\n\n\nSend a 'halt' command via SSH\n\n```console\n$ scw kill 5cf8058e\n5cf8058e\n```\n\n\nInspect a server\n\n```console\n$ scw inspect 90074de6\n[\n  {\n    \"server\": {\n    \"dynamic_ip_required\": true,\n    \"name\": \"My server\",\n    \"modification_date\": \"2015-03-26T09:01:07.691774+00:00\",\n    \"tags\": [\n      \"web\",\n      \"production\"\n    ],\n    \"state_detail\": \"booted\",\n    \"public_ip\": {\n      \"dynamic\": true,\n      \"id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"address\": \"212.47.xxx.yyy\"\n    },\n    \"state\": \"running\",\n  }\n]\n```\n\n\nShow public ip address of a server\n\n```console\n$ scw inspect myserver | jq '.[0].public_ip.address'\n212.47.xxx.yyy\n```\n\n\n---\n\n## Changelog\n\n### v1.20+dev (unreleased)\n\n* This is the current development version. Update below with your changes. Remove this line when releasing the package.\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.20...master)\n\n### v1.20 (2019-09-10)\n\n* feat: add support for exact match when looking for an image ([#562](https://github.com/scaleway/scaleway-cli/pull/562))\n* feat: change default server type to DEV1-S ([#561](https://github.com/scaleway/scaleway-cli/pull/561))\n* feat: drop go 1.7, 1.8 and 1.9 support ([#564](https://github.com/scaleway/scaleway-cli/pull/564))\n* feat: drop go@1.10 support ([#571](https://github.com/scaleway/scaleway-cli/pull/571))\n* feat: add go@1.11 support ([#565](https://github.com/scaleway/scaleway-cli/pull/565))\n* feat: add go@1.12 support ([#566](https://github.com/scaleway/scaleway-cli/pull/566))\n* feat: add go@1.13 support ([#572](https://github.com/scaleway/scaleway-cli/pull/572))\n* feat: drop freebsd and netbsd support for go1.12+ ([#570](https://github.com/scaleway/scaleway-cli/pull/570))\n* doc: add reference to Chocolatey package ([#551](https://github.com/scaleway/scaleway-cli/pull/551))\n* doc: remove brew tap installation instructions ([#560](https://github.com/scaleway/scaleway-cli/pull/560))\n* doc: update to new instances and images ([#569](https://github.com/scaleway/scaleway-cli/pull/569))\n* test: fix integration tests ([#568](https://github.com/scaleway/scaleway-cli/pull/568))\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.19...v1.20)\n\n### v1.19 (2019-03-29)\n\n* Fix: create servers volumes algo\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.18...v1.19)\n\n### v1.18 (2019-03-04)\n\n* Add the ability to use an arbitrary config file using `-c`,`--config` option.\n* Add the ability to specify a token and organiationId from the environnement using `SCW_TOKEN` and `SCW_ORGANIZATION` variables.\n* Add security group stateful flag.\n* Add security group default outbound/inbound policy.\n* Fix cli version link (auto update).\n* Add compute boottype flag.\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.17...v1.18)\n\n### v1.17 (2018-07-02)\n\n* Fix: it is now possible to `scw inspect` snapshots [#510](https://github.com/scaleway/scaleway-cli/issues/510)\n* Fix: add region details in cache for snapshots, images, bootscripts and volumes [#510](https://github.com/scaleway/scaleway-cli/issues/510)\n* Fix: `scw attach` works again [#508](https://github.com/scaleway/scaleway-cli/issues/508) \n* Fix unittests\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.16...v1.17)\n\n### v1.16 (2018-04-20)\n\n* Fix netbsd build\n* Allow region filtering\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.15...v1.16)\n\n### v1.15 (2018-04-12)\n\n* Fix typo\n* Fix `WaitForServerReady` with IPv6\n* Fix bash completion\n* Switch from godep to govendor\n* Remove check that the current token is returned on a GET of all tokens.\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.14...v1.15)\n\n### v1.14 (2017-07-18)\n\n* Add the new command \"scw products servers\" to list the servers types\n  available.\n* Dynamically discover the volumes to create to start servers of some\n  commercial types. For instance, VC1L instances require to have 200GB of disk.\n  Instead of hardcoding the extra volume creation, use the product API to know\n  an extra volume of 150GB needs to be created.\n* Release packages on arm64.\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.13...v1.14)\n\n### v1.13 (2017-05-10)\n\n* Add new ARM64 offers\n* For scaleway-cli developers: build time is improved, and standard tools are\n  used to cross-compile the project\n* Ask two-factor authentication token on `scw login`\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.12...v1.13)\n\n### v1.12 (2017-03-30)\n\n* cmd: exec, add -A flag to forward ssh keys\n* cmd: fix typo `-p` flag port instead of `--p`\n* API: add new commercial type\n* cmd: add new commercial type\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.11.1...v1.12)\n\n### v1.11.1 (2016-11-17)\n\n* API: try to connect trough the gateway when nc doesn't work\n* API: hotfix region with user images\n* API: fix filter on paginate page\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.11...v1.11.1)\n\n### v1.11 (2016-10-27)\n\n* new Compute URL `api.scaleway.com` -\u003e `cp-par1.scaleway.com`\n* new TTY URL `tty.scaleway.com/v2` -\u003e `tty-par1.scaleway.com/v2`\n* Region: add `ams1`, you can start a server at Amsterdam with `scw --region=\"ams1\" run yakkety`\n* API: Support multi-zone\n* API: Add ZoneID field in server location\n* `scw image -a -f type=volume` fix unmarshal error on size field\n* `scw ps` do not display empty server with --filter\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.10.1...v1.11)\n\n### v1.10.1 (2016-10-24)\n\n* `scw login` fix CheckCredentials ([418](https://github.com/scaleway/scaleway-cli/issues/418))\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.10...v1.10.1)\n\n### v1.10 (2016-10-24)\n\n* API rename `deleteServerSafe` -\u003e `deleteServerForce`\n* API support paginate\n* API more verbose with `-V`\n* Better handling of secondary volumes size ([361](https://github.com/scaleway/scaleway-cli/issues/361))\n* Add a global flag, `--region` to change the defaut region\n* `scw exec --gateway` remove hardcoded 30 seconds sleep ([#254](https://github.com/scaleway/scaleway-cli/issues/254))\n* `ScalewayServer` add DNS fields ([#157](https://github.com/scaleway/scaleway-cli/issues/157))\n* `scw [logs|exec|cp|port|run|top]` add `--user` \u0026\u0026 `--port` ([#396](https://github.com/scaleway/scaleway-cli/issues/396))\n* `scw ps` sort the servers by CreationDate ([#391](https://github.com/scaleway/scaleway-cli/issues/391))\n* Fix regression on bootscript ([#387](https://github.com/scaleway/scaleway-cli/issues/387))\n* `scw [run|start]` Add `--set-state` flag\n* `scw login` Add motd when you are already logged ([#371](https://github.com/scaleway/scaleway-cli/issues/371))\n* `scw _ips` add --detach flag\n* API add DetachIP method ([@nicolai86](https://github.com/scaleway/scaleway-cli/pull/378))\n* Cache remove log dependency\n* Fix error message with `--commercial-type=c2m` ([#374](https://github.com/scaleway/scaleway-cli/issues/374))\n* Add Logger Interface to avoid multiples dependencies in the API, thank you [@nicolai86](https://github.com/nicolai86) ([#369](https://github.com/scaleway/scaleway-cli/pull/369))\n* `scw run` handle `--ipv6` flag\n* `scw create` handle `--ipv6` flag\n* Fix panic when the commercial-type is lower than 2 characters ([#365](https://github.com/scaleway/scaleway-cli/issues/365))\n* gotty-client enable ProxyFromEnviromnent ([#363](https://github.com/scaleway/scaleway-cli/pull/363)) ([@debovema](https://github.com/debovema))\n* `scw inspect` fix panic ([#353](https://github.com/scaleway/scaleway-cli/issues/353))\n* Clear cache between the releases ([#329](https://github.com/scaleway/scaleway-cli/issues/329))\n* Fix `scw _patch bootscript` nil dereference\n* Fix `scw images` bad error message ([#336](https://github.com/scaleway/scaleway-cli/issues/337))\n* Fix sshExecCommand with Windows ([#338](https://github.com/scaleway/scaleway-cli/issues/338))\n* Fix `scw login` with Windows ([#341](https://github.com/scaleway/scaleway-cli/issues/341))\n* Add `enable_ipv6` field ([#334](https://github.com/scaleway/scaleway-cli/issues/334))\n* `scw _patch` handles ipv6=[true|false]\n* Add `ScalewayIPV6Definition`\n* Add marketplace alias in the cache to resolve image ([#330](https://github.com/scaleway/scaleway-cli/issues/330))\n* `scw _userdata` handles `@~/path/to/file` ([#321](https://github.com/scaleway/scaleway-cli/issues/321))\n* Update `scw _billing` for new instance types ([#293](https://github.com/scaleway/scaleway-cli/issues/293))\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.9.0...v1.10)\n\n### v1.9.0 (2016-04-01)\n\n* Fix bug when using SCW_COMMERCIAL_TYPE variable\n* Switch to VC1S\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.8.1...v1.9.0)\n\n### v1.8.1 (2016-03-29)\n\n* Fix `ScalewayBootscript` structure\n* `scw _userdata` fix bug when we have multiple '=' in the value ([#320](https://github.com/scaleway/scaleway-cli/issues/320))\n* GetBootscriptID doesn't try to resolve when we pass an UUID\n* Add location fields for VPS\n* `scw ps` add commercial-type column\n* Use `SCW_SECURE_EXEC` instead of `exec_exec`\n* Remove `scaleway_api_endpoint` environment variable\n* brew remove cache after install\n* `scw login` don't ask to upload ssh key when there is no keys\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.8.0...v1.8.1)\n\n### v1.8.0 (2016-03-17)\n\n* Use VC1 by default\n* `scw exec` Add warning to try to clean the cache when an error occurred\n* Add `SCW_[COMPUTE|ACCOUNT|METADATA|MARKETPLACE]_API` environment variable\n* Remove --api-endpoint\n* Fix uploading SSH key with `scw login`\n* Use markerplace API in GetImages()\n* Add `_markerplace`\n* `scw rename` fix nil dereference ([#289](https://github.com/scaleway/scaleway-cli/issues/289))\n* Support of `scw [run|create] --ip-address=[none|dynamic]` ([#283](https://github.com/scaleway/scaleway-cli/pull/283)) ([@ElNounch](https://github.com/ElNounch))\n* Support of `scw ps -f server-type=COMMERCIALTYPE` ([#280](https://github.com/scaleway/scaleway-cli/issues/280))\n* Support of `scw ps -f arch=XXX` ([#278](https://github.com/scaleway/scaleway-cli/issues/278))\n* `scw info` Use json fingerprint field exposed by API\n* Allow to override Region and Architecture when using the helpers to create a new volume from a human size\n* Do not check permissions on config file under Windows ([#282](https://github.com/scaleway/scaleway-cli/pull/282)) ([@ElNounch](https://github.com/ElNounch))\n* Update pricing ([#294](https://github.com/scaleway/scaleway-cli/issues/294))\n* create-image-from-http.sh: using VPS instead of C1 ([#301](https://github.com/scaleway/scaleway-cli/issues/301))\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.7.1...v1.8.0)\n\n### v1.7.1 (2016-01-29)\n\n* Configure User-Agent ([#269](https://github.com/scaleway/scaleway-cli/issues/269))\n* Daily check for new scw version ([#268](https://github.com/scaleway/scaleway-cli/issues/268))\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.7.0...v1.7.1)\n\n### v1.7.0 (2016-01-27)\n\n* SCALEWAY_VERBOSE_API is now SCW_VERBOSE_API\n* SCALEWAY_TLSVERIFY is now SCW_TLSVERIFY\n* Add a warn message when using `ssh exec` on host without public ip nor gateway ([#171](https://github.com/scaleway/scaleway-cli/issues/171))\n* Display `ssh-host-fingerprints` when it's available ([#194](https://github.com/scaleway/scaleway-cli/issues/194))\n* Support of `scw rmi` snapshot|volume ([#258](https://github.com/scaleway/scaleway-cli/issues/258))\n* Match bootscript/image with the good architecture ([#255](https://github.com/scaleway/scaleway-cli/issues/255))\n* Support of region/owner/arch in the cache file ([#255](https://github.com/scaleway/scaleway-cli/issues/255))\n* Remove some `fatal` and `Exit`\n* Use rfc4716 (openSSH) to generate the fingerprints ([#151](https://github.com/scaleway/scaleway-cli/issues/151))\n* Switch from `Party` to `Godep`\n* create-image-from-http.sh: Support HTTP proxy ([#249](https://github.com/scaleway/scaleway-cli/issues/249))\n* Support of `scw run --userdata=...` ([#202](https://github.com/scaleway/scaleway-cli/issues/202))\n* Refactor of `scw _security-groups` ([#197](https://github.com/scaleway/scaleway-cli/issues/197))\n* Support of `scw tag --arch=XXX`\n* Support of `scw run --timeout=X` ([#239](https://github.com/scaleway/scaleway-cli/issues/239))\n* Check the \"stopped\" state for `scw run | exec -w`([#229](https://github.com/scaleway/scaleway-cli/issues/229))\n* Basic support of Server.CommercialType\n* Support of `SCW_GOTTY_URL` environment variable\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.6.0...v1.7.0)\n\n### v1.6.0 (2015-11-18)\n\n* Support of `scw create|run --ip-address` ([#235](https://github.com/scaleway/scaleway-cli/issues/235))\n* Update gotty-client to 1.3.0\n* Support of `scw run --show-boot` option ([#156](https://github.com/scaleway/scaleway-cli/issues/156))\n* Remove go1.[34] support\n* Improve _cs format ([#223](https://github.com/scaleway/scaleway-cli/issues/223))\n* Use `gotty-client` instead of `termjs-cli`\n* Fix: bad detection of server already started when starting a server ([#224](https://github.com/scaleway/scaleway-cli/pull/224)) - [@arianvp](https://github.com/arianvp)\n* Added _cs ([#180](https://github.com/scaleway/scaleway-cli/issues/180))\n* Report **quotas** in `scw info` ([#130](https://github.com/scaleway/scaleway-cli/issues/130))\n* Added `SCALEWAY_VERBOSE_API` to make the API more verbose\n* Support of `scw _ips` command ... ([#196](https://github.com/scaleway/scaleway-cli/pull/196))\n* Report **permissions** in `scw info` ([#191](https://github.com/scaleway/scaleway-cli/issues/191))\n* Report **dashboard** statistics in `scw info` ([#177](https://github.com/scaleway/scaleway-cli/issues/177))\n* Support of `scw _userdata name VAR=@/path/to/file` ([#183](https://github.com/scaleway/scaleway-cli/issues/183))\n* Support of `scw restart -w` ([#185](https://github.com/scaleway/scaleway-cli/issues/185))\n* Restarting multiple servers in parallel ([#185](https://github.com/scaleway/scaleway-cli/issues/185))\n* Added _security-groups ([#179](https://github.com/scaleway/scaleway-cli/issues/179))\n* Reflect server location in `scw inspect` ([#204](https://github.com/scaleway/scaleway-cli/issues/204))\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.5.0...v1.6.0)\n\n### v1.5.0 (2015-09-11)\n\n* Support of `scw tag --bootscript=\"\"` option ([#149](https://github.com/scaleway/scaleway-cli/issues/149))\n* `scw info` now prints user/organization info from the API ([#130](https://github.com/scaleway/scaleway-cli/issues/130))\n* Added helpers to manipulate new `user_data` API ([#150](https://github.com/scaleway/scaleway-cli/issues/150))\n* Renamed `create-image-from-s3.sh` example and now auto-filling image metadata (title and bootscript) based on the Makefile configuration\n* Support of `scw rm -f/--force` option ([#158](https://github.com/scaleway/scaleway-cli/issues/158))\n* Added `scw _userdata local ...` option which interacts with the Metadata API without authentication ([#166](https://github.com/scaleway/scaleway-cli/issues/166))\n* Initial version of `scw _billing` (price estimation tool) ([#118](https://github.com/scaleway/scaleway-cli/issues/118))\n* Fix: debian-package installation\n* Fix: nil pointer dereference ([#155](https://github.com/scaleway/scaleway-cli/pull/155)) ([@ebfe](https://github.com/ebfe))\n* Fix: regression on scw create ([#142](https://github.com/scaleway/scaleway-cli/issues/142))\n* Stability improvements\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.4.0...v1.5.0)\n\n---\n\n### v1.4.0 (2015-08-28)\n\n#### Features\n\n* `-D,--debug` mode shows ready to copy-paste `curl` commands when using the API (must be used with `--sensitive` to unhide private token)\n* Support of `_patch SERVER tags=\"tag1 tag2=value2 tag3\"`\n* `scw -D login` displays a fake password\n* Support --skip-ssh-key `scw login` ([#129](https://github.com/scaleway/scaleway-cli/issues/129))\n* Now `scw login` ask your login/password, you can also pass token and organization with -o and -t ([#59](https://github.com/scaleway/scaleway-cli/issues/59))\n* Support of `scw images --filter` option *(type, organization, name, public)* ([#134](https://github.com/scaleway/scaleway-cli/issues/134))\n* Support of `scw {ps,images} --filter` option *(images: type,organization,name,public; ps:state,ip,tags,image)* ([#134](https://github.com/scaleway/scaleway-cli/issues/134))\n* Syncing cache to disk after server creation when running `scw run` in a non-detached mode\n* Bump to Golang 1.5\n* Support --tmp-ssh-key `scw {run,create}` option ([#99](https://github.com/scaleway/scaleway-cli/issues/99))\n* Support of `scw run --rm` option ([#117](https://github.com/scaleway/scaleway-cli/issues/117))\n* Support of `--gateway=login@host` ([#110](https://github.com/scaleway/scaleway-cli/issues/110))\n* Upload local ssh key to scaleway account on `scw login` ([#100](https://github.com/scaleway/scaleway-cli/issues/100))\n* Add a 'running indicator' for `scw run`, can be disabled with the new flag `--quiet`\n* Support of `scw -V/--verbose` option ([#83](https://github.com/scaleway/scaleway-cli/issues/83))\n* Support of `scw inspect --browser` option\n* Support of `scw _flush-cache` internal command\n* `scw run --gateway ...` or `SCW_GATEWAY=\"...\" scw run ...` now creates a server without public ip address ([#74](https://github.com/scaleway/scaleway-cli/issues/74))\n* `scw inspect TYPE:xxx TYPE:yyy` will only refresh cache for `TYPE`\n* Sorting cache search by Levenshtein distance ([#87](https://github.com/scaleway/scaleway-cli/issues/87))\n* Allow set up api endpoint using the environment variable $scaleway_api_endpoint\n* Use TLS and verify can now be disabled using `SCALEWAY_TLSVERIFY=0` env var ([#115](https://github.com/scaleway/scaleway-cli/issues/115))\n* Switched to `goxc` for releases\n\n#### Fixes\n\n* Moved ssh command generation code to dedicated package\n* Global refactor to improve Golang library usage, allow chaining of commands and ease the writing of unit tests ([#80](https://github.com/scaleway/scaleway-cli/issues/80))\n* `scw search TERM` was not restricting results based on `TERM`\n* Bumped dependencies\n* Hiding more sensitive data ([#77](https://github.com/scaleway/scaleway-cli/issues/77))\n* Fixed \"Run in Docker\" usage ([#90](https://github.com/scaleway/scaleway-cli/issues/90))\n* Improved `-D/--debug` outputs\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.3.0...v1.4.0)\n\n---\n\n### 1.3.0 (2015-07-20)\n\n#### Features\n\n* Switched from [Godep](https://godoc.org/github.com/tools/godep) to [Party](https://godoc.org/github.com/mjibson/party)\n* Support of `-g` option ([#70](https://github.com/scaleway/scaleway-cli/issues/70))\n\n#### Fixes\n\n* Issue with `scw top`'s usage\n* Minor code improvements\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.2.1...v1.3.0)\n\n---\n\n### 1.2.1 (2015-07-01)\n\n#### Features\n\n* Support of `scw run -d` option ([#69](https://github.com/scaleway/scaleway-cli/issues/69))\n\n#### Fixes\n\n* Version vendor source code (Godeps)\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.2.0...v1.2.1)\n\n---\n\n### 1.2.0 (2015-06-29)\n\n#### Features\n\n* Support of `_patch SERVER security_group` and `_patch SERVER bootscript`\n* Improved resolver behavior when matching multiple results, now displaying more info too help choosing candidates ([#47](https://github.com/scaleway/scaleway-cli/issues/47))\n* `scw exec SERVER [COMMAND] [ARGS...]`, *COMMAND* is now optional\n* Showing the server MOTD when calling `scw run \u003cimage\u003e [COMMAND]` without *COMMAND*\n* Support of `scw attach --no-stdin` option\n* Hiding sensitive data by default on `scw inspect` ([#64](https://github.com/scaleway/scaleway-cli/issues/64))\n* Support of `scw --sensitive` option ([#64](https://github.com/scaleway/scaleway-cli/issues/64))\n* Support of `scw run --attach` option ([#65](https://github.com/scaleway/scaleway-cli/issues/65))\n* `scw {create,run}`, prefixing root-volume with the server hostname ([#63](https://github.com/scaleway/scaleway-cli/issues/63))\n* `scw {create,run} IMAGE`, *IMAGE* can be a snapshot ([#19](https://github.com/scaleway/scaleway-cli/issues/19))\n* Support of `scw stop -w, --wait` option\n* Identifiers can be prefixed with the type of the resource, i.e: `scw inspect my-server` == `scw inspect server:my-server`\n  It may be useful if you have the same name in a server and a volume\n* Improved support of zsh completion\n\n#### Fixes\n\n* `scw inspect -f` was always exiting 0\n* `scw images -a` does not prefix snapshots, volumes and bootscripts (only images)\n* `scw run ...` waits for 30 seconds before polling the API\n* `scw stop server1 server2` doesn't exit on first stopping failure\n* `scw run IMAGE [COMMAND]`, default *COMMAND* is now `if [ -x /bin/bash ]; then exec /bin/bash; else exec /bin/sh; fi`\n* `scw run|create SNAPSHOT`, raised an error if snapshot does not have base volume\n* `scw stop -t` removes server entry from cache\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.1.0...v1.2.0)\n\n---\n\n### 1.1.0 (2015-06-12)\n\n#### Features\n\n* Support of `scw cp` from {server-path,local-path,stdin} to {server-path,local-path,stdout} ([#56](https://github.com/scaleway/scaleway-cli/issues/56))\n* Support of `scw logout` command\n* Support of `_patch` experimental command  ([#57](https://github.com/scaleway/scaleway-cli/issues/57))\n* Support of `_completion` command (shell completion helper) ([#45](https://github.com/scaleway/scaleway-cli/issues/45))\n* Returning more resource fields on `scw inspect` ([#50](https://github.com/scaleway/scaleway-cli/issues/50))\n* Show public ip address in PORTS field in `scw ps` ([#54](https://github.com/scaleway/scaleway-cli/issues/54))\n* Support of `inspect --format` option\n* Support of `exec --timeout` option ([#31](https://github.com/scaleway/scaleway-cli/issues/31))\n* Support of volumes in `images -a` and `inspect` ([#49](https://github.com/scaleway/scaleway-cli/issues/49))\n* Tuned `~/.scwrc` unix permissions + added a warning if the file is too open ([#48](https://github.com/scaleway/scaleway-cli/pull/48))\n\n#### Fixes\n\n* The project is now `go get`-able and splitted into packages\n* Added timeout when polling SSH TCP port for `scw start -w` and `scw exec -w` ([#46](https://github.com/scaleway/scaleway-cli/issues/46))\n* Improved resolver behavior for exact matching  ([#53](https://github.com/scaleway/scaleway-cli/issues/53), [#55](https://github.com/scaleway/scaleway-cli/issues/55))\n* Verbose error message when `scw exec` fails ([#42](https://github.com/scaleway/scaleway-cli/issues/42))\n* Fixed `scw login` parameters parsing\n* Speed and stability improvements\n\nView full [commits list](https://github.com/scaleway/scaleway-cli/compare/v1.0.0...v1.1.0)\n\n---\n\n### 1.0.0 (2015-06-05)\n\nFirst Golang version.\nFor previous Node.js versions, see [scaleway-cli-node](https://github.com/moul/scaleway-cli-node).\n\n#### Features\n\n* Support of `attach` command\n* Support of `commit` command\n  * Support of `commit -v, --volume` option\n* Support of `cp` command\n* Support of `create` command\n  * Support of `create --bootscript` option\n  * Support of `create -e, --env` option\n  * Support of `create --name` option\n  * Support of `create -v, --volume` option\n* Support of `events` command\n* Support of `exec` command\n  * Support of `exec -w, --wait` option\n* Support of `help` command\n* Support of `history` command\n  * Support of `history --no-trunc` option\n  * Support of `history -q, --quiet` option\n* Support of `images` command\n  * Support of `images -a, --all` option\n  * Support of `images --no-trunc` option\n  * Support of `images -q, --quiet` option\n* Support of `info` command\n* Support of `inspect` command\n* Support of `kill` command\n* Support of `login` command\n* Support of `logs` command\n* Support of `port` command\n* Support of `ps` command\n  * Support of `ps -a, --all` option\n  * Support of `ps -n` option\n  * Support of `ps -l, --latest` option\n  * Support of `ps --no-trunc` option\n  * Support of `ps -q, --quiet` option\n* Support of `rename` command\n* Support of `restart` command\n* Support of `rm` command\n* Support of `rmi` command\n* Support of `run` command\n  * Support of `run --bootscript` option\n  * Support of `run -e, --env` option\n  * Support of `run --name` option\n  * Support of `run -v, --volume` option\n* Support of `search` command\n  * Support of `search --no-trunc` option\n* Support of `start` command\n  * Support of `start -w, --wait` option\n  * Support of `start -T, --timeout` option\n* Support of `stop` command\n  * Support of `stop -t, --terminate` option\n* Support of `tag` command\n* Support of `top` command\n* Support of `version` command\n* Support of `wait` command\n\n[gopkg.in/scaleway/scaleway-cli.v1](http://gopkg.in/scaleway/scaleway-cli.v1)\n\n---\n\n### POC (2015-03-20)\n\nFirst [Node.js version](https://github.com/moul/scaleway-cli-node)\n\n---\n\n## Development\n\nFeel free to contribute :smiley::beers:\n\n\n### Hack\n\n1. [Install go](https://golang.org/doc/install)\n2. Ensure you have `$GOPATH` and `$PATH` well configured, something like:\n  * `export GOPATH=$HOME/go`\n  * `export PATH=$PATH:$GOPATH/bin`\n3. Fetch the project: `go get -d github.com/scaleway/scaleway-cli/...`\n4. Go to scaleway-cli directory: `cd $GOPATH/src/github.com/scaleway/scaleway-cli`\n5. Hack: `emacs`\n6. Build: `make`\n7. Run: `./scw`\n\n## License\n\n[MIT](https://github.com/scaleway/scaleway-cli/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoul%2Fscaleway-cli-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoul%2Fscaleway-cli-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoul%2Fscaleway-cli-v1/lists"}