WhyDocsPricingDownloadChangelogGitHub

Documentation

  • Docs
    • Getting Started
      • Installation
      • Quick start
    • Concepts
      • Files-first
      • The hierarchy
      • OpenAPI as the source of truth
      • Instance visibility
      • Environments
    • Guides
      • Importing a spec
      • Request instances
      • Auth & middlewares
      • Writing workflows
      • CI/CD
      • Documenting an API
      • Pro license
    • Interface
      • Navigation
      • History
      • Command palette
      • Keyboard shortcuts
    • Reference
      • File formats
        • config.json
        • api.json
        • _resource.json
        • Request instances
        • Environment files
        • schema.rules.json
        • Documentation files
        • Workflow files
    • CLI reference
      • project
        • init
        • validate
        • trust
        • untrust
      • api
      • schema
      • spec
      • req
      • env
      • workflow
      • license
      • completion
    • Plugins
      • Using plugins
      • Writing a plugin
CLI›project

craftr project

Create and validate an API Craft project.

Commands

  • project initInitialize an API Craft project in the current directory.
  • project validateValidate the project structure and report problems.
  • project trustApprove this project so its scripts (middlewares, custom auth, workflow scripts) can run. Persists until untrusted.
  • project untrustRefuse this project, blocking its scripts until it is trusted again.

See also

  • Files-first
  • Quick start