Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Fool's CLI

This prompt is designed to teach you how to use the CLI in FoolScript.

Setup

In the .github/prompts folder of your project, add a new file called fools-cli.prompt.md.

Usage

Example that will use the current language:

Terminal window
#file:fools-cli.prompt.md

Example that will use Python:

Terminal window
#file:fools-cli.prompt.md Python

Prompt

Provide a quick outline with examples on how to create a CLI application in the current language. Include the following if they apply:
## Entry point
## User input
## Output
## Running the application
## Miscellaneous
Begin your response with an empty markdown block. Add 3 backticks (```) before the response. For example:
```markdown
```
Response...