Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Readme
##Digital Ocean Wrench
Complete CLI to the Digital Ocean API
###Installation
npm install -g dow
dow
will look for a DIGITALOCEAN_ACCESS_TOKEN
environment variable. You can create one here, and surface it by adding the following to your .profile
/.bash_profile
/etc.:
export DIGITALOCEAN_ACCESS_TOKEN="<your-access-token>"
If you really want, you can additionally pass your token via the --token
flag (see special flags). Read here about how to keep such commands out of your history.
###Usage
For now, the tool will pretty much explain how to use it. (Methods map pretty simply to the official documentation.) Top-level lists categories:
$ dow
usage: dow <command>
where <command> is one of:
actions
domains
domain-records
droplets
images
ssh-keys
regions
sizes
floating-ips
Categories list methods:
$ dow images
usage: dow images <method>
where <method> is one of:
list
get-by-id
get-by-slug
list-actions
update
delete
transfer
convert-to-snapshot
get-action
And methods explain themselves when misused:
$ dow images get-by-slug
usage: dow images get-by-slug <image-id>
or
$ dow droplet create
usage: dow droplets create
--name=<value>
--region=<value>
--size=<value>
--image=<value>
[--ssh_keys=<value-1>,<value-2>,...]
[--backups=<value>]
[--ipv6=<value>]
[--private_networking=<value>]
[--user_data=<value>]
Output tries to be common sense, but log is far from complete. You can use --raw
to get just the JSON response. The JSON combined with a command-line JSON manipulator like json give you plenty of flexibility. See the cookbook for some examples.
###Special flags
Special Flag | Explanation |
---|---|
--raw | Only write out Digital Ocean's JSON response |
--token=<token> | Manually provide access token |
--no-wait | Do not wait for actions to move out of 'in-progress' status or for droplets to move out of 'new' status. Without --no-wait , dow will poll new actions and droplets until they reach a resolution. |
--no-spin | Do not show a spinner |
--page=<page #> | Request an individual page of results (useful for actions + images, and maybe more) |
--force | Skip confirmation of DELETE methods |
FAQs
CLI to Digital Ocean API
The npm package dow receives a total of 1 weekly downloads. As such, dow popularity was classified as not popular.
We found that dow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.