$ runegraftrunegraft> helprunegraft> install https://example.com/pkg.zip -f 3runegraft> alias set i "install -f 3"runegraft> i https://example.com/pkg.ziprunegraft> history showrunegraft> exit
Aliases are great for long option sets. Pair them with source ./team-setup.rg to script team defaults.
Use history show to replay recent commands, and tap ! to run system commands without leaving the REPL. The shell echoes validation errors with the same helpful formatting as one-shot mode, so you can iterate quickly.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Runegraft","colors":{"primary":"#F97316","light":"#FDBA74","dark":"#EA580C"},"logo":{"light":"https://mintcdn.com/codesft/01vLicWMhjPwPtSU/logo/light.svg?fit=max\u0026auto=format\u0026n=01vLicWMhjPwPtSU\u0026q=85\u0026s=52ce1802531dede72872cfef2454107c","dark":"https://mintcdn.com/codesft/01vLicWMhjPwPtSU/logo/dark.svg?fit=max\u0026auto=format\u0026n=01vLicWMhjPwPtSU\u0026q=85\u0026s=63bb1a72a4ff6b23e17d5279408e1b29"},"favicon":"/favicon.svg","navbar":{"links":[{"label":"GitHub","href":"https://github.com/CodeSoftGit/runegraft"}],"primary":{"type":"button","label":"See PyPI","href":"https://pypi.org/project/runegraft/"}},"footer":{},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"]},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"codesft","hasAudioNarration":false,"actualSubdomain":"codesft","customDomains":["runegraft.codesft.dev"],"gitSource":{"type":"github","owner":"codesftdev","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21f72174bd683e723c51c8","collectionId":"c77ae9e5-50f0-4f6b-aae2-95b8d1c768ab","schemaVersion":"v2"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a21f72174bd683e723c51c8:success","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Core ideas","count":4},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"API","count":3},{"language":"default","tag":"Welcome!","count":1},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Getting Started","count":1},{"language":"default","tag":"Quickstart","count":1},{"language":"default","tag":"Recipes","count":1},{"language":"default","tag":"Patterns","count":1}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"concepts/shell","slug":"/concepts/shell","pageMetadata":{"title":"Interactive Shell","description":"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.","keywords":["runegraft shell","interactive cli","python repl cli","cli autocomplete","runegraft history aliases"],"sidebarTitle":"Interactive Shell","href":"/concepts/shell"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Running `,_jsx(_components.code,{children:`runegraft`}),` with no args drops you into a shell that feels like a real tool, not a demo prompt.`]}),`\n`,_jsx(Heading,{level:`2`,id:`why-use-the-shell`,children:`Why use the shell?`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tab + fuzzy completion`}),` for commands, subcommands, and options.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Persistent history`}),` so your shortcuts stick between sessions.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Built-ins`}),` you expect: `,_jsx(_components.code,{children:`help`}),`, `,_jsx(_components.code,{children:`exit`}),`, `,_jsx(_components.code,{children:`history`}),`, `,_jsx(_components.code,{children:`alias`}),`, `,_jsx(_components.code,{children:`source`}),`, `,_jsx(_components.code,{children:`cd`}),`, `,_jsx(_components.code,{children:`pwd`}),`, and `,_jsx(_components.code,{children:`!`}),` for running system commands.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Scripts via `,_jsx(_components.code,{children:`source`})]}),` to automate repetitive workflows.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`typical-session`,children:`Typical session`}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`interactive`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`$`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` runegraft`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runegraft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`help`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runegraft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://example.com/pkg.zip`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runegraft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`alias`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"install -f 3\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runegraft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://example.com/pkg.zip`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runegraft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`history`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` show`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`runegraft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`exit`})]}),`\n`]})})})}),`\n`,_jsxs(Tip,{children:[`Aliases are great for long option sets. Pair them with `,_jsx(_components.code,{children:`source ./team-setup.rg`}),` to script team defaults.`]}),`\n`,_jsx(Heading,{level:`2`,id:`making-your-shell-the-default`,children:`Making your shell the default`}),`\n`,_jsxs(_components.p,{children:[`If you want `,_jsx(_components.code,{children:`runegraft`}),` to open the shell when no arguments are provided, wire your root handler to return `,_jsx(_components.code,{children:`cli.shell()`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` runegraft `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CLI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cli `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CLI(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"runegraft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`@cli.root`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` _root`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cli.shell()`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting-commands`,children:`Troubleshooting commands`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`history show`}),` to replay recent commands, and tap `,_jsx(_components.code,{children:`!`}),` to run system commands without leaving the REPL. The shell echoes validation errors with the same helpful formatting as one-shot mode, so you can iterate quickly.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Interactive Shell","description":"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.","keywords":["runegraft shell","interactive cli","python repl cli","cli autocomplete","runegraft history aliases"],"sidebarTitle":"Interactive Shell","href":"/concepts/shell"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Why use the shell?","slug":"why-use-the-shell","depth":2,"children":[]},{"title":"Typical session","slug":"typical-session","depth":2,"children":[]},{"title":"Making your shell the default","slug":"making-your-shell-the-default","depth":2,"children":[]},{"title":"Troubleshooting commands","slug":"troubleshooting-commands","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"codesft","siteName":"Runegraft","title":"Interactive Shell - Runegraft","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"concepts/shell.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Runegraft\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Interactive Shell - Runegraft\">\u003cmeta data-mint-head property=\"og:description\" content=\"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Runegraft\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://runegraft.codesft.dev/concepts/shell\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://codesft.mintlify.app/_mintlify/api/og/v2?division=Core+ideas\u0026amp;title=Interactive+Shell\u0026amp;description=Runegraft+ships+with+a+polished+REPL+for+your+CLI%E2%80%94completion%2C+history%2C+aliases%2C+and+scripts+included.\u0026amp;theme=3fbb43272ba4fdd68eaa3dc2\u0026amp;signature=f494affc34f4370a5e489a0eef7da688ad88178abc348276fc3d3737f967b3f4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Interactive Shell - Runegraft\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://codesft.mintlify.app/_mintlify/api/og/v2?division=Core+ideas\u0026amp;title=Interactive+Shell\u0026amp;description=Runegraft+ships+with+a+polished+REPL+for+your+CLI%E2%80%94completion%2C+history%2C+aliases%2C+and+scripts+included.\u0026amp;theme=3fbb43272ba4fdd68eaa3dc2\u0026amp;signature=f494affc34f4370a5e489a0eef7da688ad88178abc348276fc3d3737f967b3f4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/codesft/WIiPqWrOTYaW3S2P/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Runegraft\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://runegraft.codesft.dev/concepts/shell\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/shell.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://runegraft.codesft.dev/#organization\",\"name\":\"Runegraft\",\"url\":\"https://runegraft.codesft.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/codesft/01vLicWMhjPwPtSU/logo/light.svg?fit=max\u0026auto=format\u0026n=01vLicWMhjPwPtSU\u0026q=85\u0026s=52ce1802531dede72872cfef2454107c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://runegraft.codesft.dev#website\",\"name\":\"Runegraft\",\"url\":\"https://runegraft.codesft.dev\",\"publisher\":{\"@id\":\"https://runegraft.codesft.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://runegraft.codesft.dev/concepts/shell#webpage\",\"url\":\"https://runegraft.codesft.dev/concepts/shell\",\"name\":\"Interactive Shell\",\"description\":\"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.\",\"isPartOf\":{\"@id\":\"https://runegraft.codesft.dev#website\"},\"breadcrumb\":{\"@id\":\"https://runegraft.codesft.dev/concepts/shell#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://runegraft.codesft.dev/concepts/shell#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core ideas\",\"item\":\"https://runegraft.codesft.dev/concepts/command-routes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interactive Shell\",\"item\":\"https://runegraft.codesft.dev/concepts/shell\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://runegraft.codesft.dev/concepts/shell#article\",\"headline\":\"Interactive Shell\",\"name\":\"Interactive Shell\",\"description\":\"Runegraft ships with a polished REPL for your CLI—completion, history, aliases, and scripts included.\",\"url\":\"https://runegraft.codesft.dev/concepts/shell\",\"mainEntityOfPage\":{\"@id\":\"https://runegraft.codesft.dev/concepts/shell#webpage\"},\"keywords\":\"runegraft shell, interactive cli, python repl cli, cli autocomplete, runegraft history aliases\",\"publisher\":{\"@id\":\"https://runegraft.codesft.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://runegraft.codesft.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Runegraft\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Runegraft","nav":{"global":{},"tabs":[{"tab":"Welcome!","pages":[{"title":"Welcome!","href":""}]},{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/quickstart"}]},{"tab":"Concepts","groups":[{"group":"Core ideas","pages":[{"title":"Command Routes","description":"Define CLI routes with typed arguments, friendly errors, and clean parsing.","sidebarTitle":"Command Routes","href":"/concepts/command-routes"},{"title":"Interactive Shell","sidebarTitle":"Interactive Shell","href":"/concepts/shell"},{"title":"Options \u0026 Flags","description":"Add polished flags with defaults, choices, and help text without writing a parser.","sidebarTitle":"Options \u0026 Flags","href":"/concepts/options"},{"title":"Type Converters","sidebarTitle":"Type Converters","href":"/concepts/types"}]}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/cli-api"}]}]},"basePath":"","title":"Interactive Shell - Runegraft","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}