• Logo
    Craft CLI
  • github.com/canonical/craft-cli
  • More resources
    • Forum
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Craft CLI documentation
Craft CLI documentation
  • Tutorials
  • How-to guides
    • Use a different logfile structure than the default
    • End the application with different return codes
    • Have a hidden option in a command
    • Raise more informational errors
    • Set a default command for the application
    • Create unit tests for code that uses Craft CLI’s Emitter
    • Define and use other global arguments
    • Use the completion module
    • Temporarily allow another application to control the terminal
  • Reference
    • craft_cli package
      • craft_cli.completion package
        • craft_cli.completion.completion module
      • craft_cli.dispatcher module
      • craft_cli.errors module
      • craft_cli.helptexts module
      • craft_cli.messages module
      • craft_cli.printer module
      • craft_cli.pytest_plugin module
      • craft_cli.utils module
  • Explanations
  • Changelog
Back to top
View this page

Welcome to Craft CLI’s documentation!¶

Tutorials

Get started with hands-on introductions to Craft CLI

How-to guides

Step-by-step guides covering key operations and common tasks

Reference

Technical information about Craft CLI

Explanations

Discussion and clarification of key topics

Indices and tables¶

  • Index

  • Module Index

  • Search Page

Copyright © 2025, Canonical Group Ltd
Last updated on May 08, 2025
Show source
Ask a question on Discourse
Open a GitHub issue for this page
Edit this page on GitHub
Contents
  • Welcome to Craft CLI’s documentation!
  • Indices and tables