{
 "kind": "tool",
 "slug": "cmd2",
 "path": "tools/cmd2/",
 "name": "Cmd2",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Framework for building feature-rich interactive command-line applications.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install cmd2"
 },
 "links": [],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": ""
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": ""
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "1 projects",
   "status": "info",
   "sub": "#245 of 299 in its category",
   "note": "Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Cmd2 does",
   "parts": [
    {
     "t": "prose",
     "text": "Framework for building feature-rich interactive command-line applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Cmd2 popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "36",
       "of": "/ 100",
       "l": "Gid Score, #3584 overall"
      },
      {
       "n": "388K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "1",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Cmd2 is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Cmd2 joined the catalog on its public numbers (387,958 downloads a week on PyPI), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 1 of them set up for AI coding agents.",
      "The most used alternative in our scan is Click (154 projects).",
      "Projects that use it most often also use Beautiful Soup (100.0%), Jinja2 (100.0%), lxml (100.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "Jinja2",
       "path": "tools/jinja2/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "lxml",
       "path": "tools/lxml/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "MarkupSafe",
       "path": "tools/markupsafe/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "CFFI",
       "path": "tools/cffi/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "Cliff",
       "path": "tools/cliff/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Cmd2",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "python-dotenv",
         "path": "tools/python-dotenv/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Rich",
         "path": "tools/rich/"
        },
        {
         "text": "Pydantic Settings",
         "path": "tools/pydantic-settings/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Cmd2",
       "me": true,
       "facts": [
        "MIT",
        "Gid 36",
        "388K/wk"
       ]
      },
      {
       "name": "Click",
       "why": "Python package for composing command-line interfaces with decorators.",
       "path": "tools/click-py/",
       "facts": [
        "BSD-3-Clause",
        "Gid 82",
        "268M/wk"
       ]
      },
      {
       "name": "Typer",
       "why": "Framework for building CLI applications using Python type hints.",
       "path": "tools/typer/",
       "facts": [
        "MIT",
        "Gid 79",
        "74.7M/wk"
       ]
      }
     ],
     "more": "Compare Cmd2 with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install cmd2"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Cmd2 yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi cmd2"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "36.0"
  ],
  [
   "Rank in category",
   "#245 of 299"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}