How can I provide input to an `apify run` from the CLI?
I have my project checked out locally and am running
apify run
but it won't get the input since i didn't initiate the run via the apify console.
I see that i can provide the input as JSON when initiating via the API.
But how can I do so from the CLI?
I saw this thread here after a first search but it seems to be about the input schema rather than providing input:
https://discord.com/channels/801163717915574323/1125179344357183518/11251793443571835183 Replies
wise-whiteOP•2y ago
It looks like i'd have to create put the JSON file into
/storage/key_value_stores/default
-- is this really the only option? 🤔
The run gets input passed to it via the INPUT record of its default key-value store. In addition to this, environment variables are also passed to the run. You can find more information about environment variables in the Environment variables section.https://docs.apify.com/platform/actors/development/builds-and-runs/runs
Runs | Apify Documentation
Learn about Actor runs, how to start them, and how to manage them.
wise-whiteOP•2y ago
This seems to be the only way I think?

harsh-harlequin•2y ago
Hey @p6l.richard, currently this is the only way to provide the input.