Skip to content

Improve apify init command behavior #930

@patrikbraborec

Description

@patrikbraborec
  1. Prompt to install Apify package: Currently apify init adds a .actor folder but doesn't install the apify package. Add a prompt: "Do you want to install the Apify package?" to automatically install it as a dependency.

  2. Validate start command: Check if npm start (or Python equivalent) is defined. If missing, show a warning since the Actor won't run on Apify console. Consider adding this check to apify push as well.

  3. Better messaging after init: Currently only outputs: "The actor has been initialized in the current directory."

Add: link to quick start guide + suggest running apify run next.

Metadata

Metadata

Assignees

Labels

product roadmapIssues synchronized to product roadmap.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions