Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
apify-cli
Advanced tools
Apify command client helps you to create and deploy Apify Actor acts.
To get started with Apify command line client, first make sure you have Node.js (v7.10.x
and higher) installed.
Then install Apify CLI with:
npm -g install apify-cli
This prints help for specified command.
Argument | Required | Example value | Description |
---|---|---|---|
COMMAND | init | The command for which help will be print. |
This is an interactive prompt which authenticates you with Apify. All tokens and keys will store ~/.apify. NOTE: If you set up token options, prompt will skip
Option | Required | Example value | Description |
---|---|---|---|
-t, --token | 6g5Nfz9zHt7k9Ub | Your API token on Apify. You can find it on you Apify accout. |
Deletes all your stored tokens and keys from ~/.apify. NOTE: This deletes all your global settings.
This runs your act on Apify and fetches results from output.
Argument | Required | Example value | Description |
---|---|---|---|
ACTID | 9h6Gfd87jg6ZGsb | Act ID of calling act. It overrides actId in apify.json. |
Option | Required | Example value | Description |
---|---|---|---|
-b, --build | 1.2.3 | Tag or number of the build to run (e.g. latest or 1.2.34). | |
-m, --memory | 1024 | Amount of memory allocated for the act run, in megabytes. | |
-t, --timeout | 300 | Timeout for the act run in seconds. Zero value means there is no timeout. |
This creates directory with proper structure for local development.
Argument | Required | Example value | Description |
---|---|---|---|
ACTNAME | * | my-act-name | Act name of act you want to create. |
Option | Required | Example value | Description |
---|---|---|---|
-t, --template | basic | Act template, if not pass it'll prompt from the console. |
This asks you for your the act name, writes apify.json
and creates apify_local
folder structure for local development.
Argument | Required | Example value | Description |
---|---|---|---|
ACTNAME | my-act-name | Act name of act you want to init. If not set it will prompt. |
This uploads act from the current directory to Apify and builds it. If exists apify.json in the directory it takes options from there. You can override these with options below.
Argument | Required | Example value | Description |
---|---|---|---|
ACTID | 9h6Gfd87jg6ZGsb | Act ID of act you want to push. It overrides actId in apify.json . |
Option | Required | Example value | Description |
---|---|---|---|
-b, --build-tag | latest | Build tag of pushing act version. | |
-v, --version-number | 0.1 | Version number of pushing act version. |
This runs act from current directory. It uses apify_local
for getting input and setting output and storing data.
This prints version of your command line client.
FAQs
Apify command-line interface (CLI) helps you manage the Apify cloud platform and develop, build, and deploy Apify Actors.
The npm package apify-cli receives a total of 760 weekly downloads. As such, apify-cli popularity was classified as not popular.
We found that apify-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.