{"id":15973306,"url":"https://github.com/wasertech/codepilot","last_synced_at":"2026-01-23T06:21:40.941Z","repository":{"id":213024964,"uuid":"732816987","full_name":"wasertech/CodePilot","owner":"wasertech","description":"Your AI command line copilot.","archived":false,"fork":false,"pushed_at":"2024-10-19T23:39:54.000Z","size":168,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T10:51:22.318Z","etag":null,"topics":["copilot","github-copilot","gpt-4","shell-aliases","shell-functions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasertech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["wasertech"]}},"created_at":"2023-12-17T22:58:02.000Z","updated_at":"2024-10-19T23:39:57.000Z","dependencies_parsed_at":"2024-02-08T23:23:00.096Z","dependency_job_id":"53367097-8d76-44f2-99cb-a3a84b80e683","html_url":"https://github.com/wasertech/CodePilot","commit_stats":null,"previous_names":["wasertech/codepilot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wasertech/CodePilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasertech%2FCodePilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasertech%2FCodePilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasertech%2FCodePilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasertech%2FCodePilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasertech","download_url":"https://codeload.github.com/wasertech/CodePilot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasertech%2FCodePilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["copilot","github-copilot","gpt-4","shell-aliases","shell-functions"],"created_at":"2024-10-07T21:04:23.757Z","updated_at":"2026-01-23T06:21:40.918Z","avatar_url":"https://github.com/wasertech.png","language":"Shell","funding_links":["https://github.com/sponsors/wasertech"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://images.weserv.nl/?url=https://raw.githubusercontent.com/wasertech/CodePilot/main/assets/copilot.png?v=4\u0026h=300\u0026w=300\u0026fit=cover\u0026mask=circle\u0026maxage=7d\" alt=\"Copilot\" style=\"display: block; margin: 0 auto; border-radius: 50%; width: 200px; height: 200px;\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\u003ch1 align=\"center\"\u003eCodePilot\u003c/h1\u003e\n\nYour AI command line copilot.\n\n\u003e I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve.\n\nYou need an active subscription to [GitHub Copilot](https://github.com/settings/copilot) to use this tool.\n\n## Table of Content\n\n- [Table of Content](#table-of-content)\n- [Introduction](#introduction)\n  - [Explain](#explain)\n    - [Explanation:](#explanation)\n  - [How do I?](#how-do-i)\n    - [Explanation:](#explanation-1)\n  - [Use the Shell to ...](#use-the-shell-to-)\n    - [Suggestion:](#suggestion)\n  - [Use Docker to ...](#use-docker-to-)\n    - [Suggestion:](#suggestion-1)\n    - [Suggestion:](#suggestion-2)\n  - [Help](#help)\n    - [Explanation:](#explanation-2)\n    - [Explanation:](#explanation-3)\n    - [Explanation:](#explanation-4)\n  - [Too long; didn't read (the manual)](#too-long-didnt-read-the-manual)\n    - [Explanation:](#explanation-5)\n  - [What is ... ?](#what-is--)\n    - [Explanation:](#explanation-6)\n- [Pre-requisites](#pre-requisites)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Commands](#commands)\n    - [Welcome](#welcome)\n    - [Help](#help-1)\n    - [Explain](#explain-1)\n    - [Suggest](#suggest)\n    - [Use Git (command)](#use-git-command)\n    - [Use GitHub CLI](#use-github-cli)\n    - [Use the Shell](#use-the-shell)\n    - [Use Docker](#use-docker)\n    - [Use Python](#use-python)\n    - [How do I ... ?](#how-do-i--)\n    - [Too long; didn't read (the manual page)](#too-long-didnt-read-the-manual-page)\n    - [Can you please ... ?](#can-you-please--)\n  - [`copilot` `==` `codepilot`](#copilot--codepilot)\n- [Updating CodePilot](#updating-codepilot)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nCodePilot is a collection of shell scripts that wraps the [GitHub Copilot CLI](https://github.com/github/gh-copilot) into a more user-friendly interface through the use of various aliases and functions.\n\nSuch as:\n\n---\n\n### Explain\n\nYou can ask GitHub Copilot to explain something, like navigating the shell.\n\n```shell\n❯ explain \"how to navigate dirs\"\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:\n\n  To navigate directories, you can use the following commands:\n                              \n  - `cd` is used to change directory.                                                                                                                  \n    - `cd` foldername changes the current directory to foldername.                                                                                     \n    - `cd` `..` moves up one directory level.                                                                                                            \n    - `cd` `~` moves to the home directory.                                                                                                              \n    - `cd` `/` moves to the root directory.                                                                                                              \n    - `cd` `-` switches to the previous directory.                                                                                                       \n  - `pwd` displays the current working directory.                                                                                                      \n  - `ls` lists files and directories in the current directory.                                                                                         \n    - `ls -l` provides a detailed listing.                                                                                                             \n    - `ls -a` shows hidden files and directories.                                                                                                      \n    - `ls -h` displays file sizes in human-readable format.                                                                                            \n    - `ls -t` sorts files by modification time.                                                                                                        \n    - `ls` -r reverses the order of the listing.\n\n---\n\nYou can also ask in various ways.\n\n### How do I?\n\n```shell\n❯ howdoi \"navigate dirs\"\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:\n\n  To navigate directories in a shell:                                                                                                                \n                                                                                                                                                     \n  - `cd` is used to change the current directory.                                                                                                      \n    - `cd \u003cdirectory\u003e` changes the current directory to the specified directory.                                                                       \n    - `cd ..` moves one level up to the parent directory.                                                                                              \n    - `cd ~` moves to the home directory.                                                                                                              \n  - `pwd` prints the current working directory.                                                                                                        \n  - `ls` lists the files and directories in the current directory.                                                                                     \n    - `ls \u003cdirectory\u003e` lists the files and directories in the specified directory.                                                                     \n    - `-l` provides a long listing format.                                                                                                             \n    - `-a` includes hidden files and directories in the listing.                                                                                       \n    - `-t` sorts the listing by modification time.                                                                                                     \n    - `-r` reverses the order of the listing.                                                                                                          \n    - `-h` uses human-readable file sizes in the listing.                                                                                              \n  - `mkdir` creates a new directory.                                                                                                                   \n    - `mkdir \u003cdirectory\u003e` creates a directory with the specified name.\n\n---\n\n### Use the Shell to ...\n\n\n```shell\n❯ use_sh_to \"navigate dirs\"\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Suggestion:\n\n```shell\ncd /path/to/directory\n```                        \n\n_? Select an option_\n\u003e Exit\n\n---\n\nBased on `use_sh_to`, you can also also ask for help with Docker.\n\n### Use Docker to ...\n\nLike with previous `use_*_to` commands, you can converse with GitHub Copilot to sugesst the most adequate command. This time, for Docker.\n\n```shell\n❯ use_docker_to \"navigate dirs\"\n```\n\nWelcome to GitHub Copilot in the CLI!\nversion 0.5.3-beta (2023-11-09)\n\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve.\n\nSuggestion not readily available. Please revise for better results.\n\n? _What would you like the shell command to do?_ \n\u003e load a volume and navigate to in in the container using bash as my entrypoint\n\n#### Suggestion:\n\n  ```shell\n  docker run -v /path/to/volume:/container/path -it image_name bash\n  ```\n\n? _Select an option_\n\u003e Revise command\n\n? _How should this be revised?_ \n\u003e How would I navigate to /container/path once in the container?\n\n#### Suggestion:\n\n  ```shell\n  cd /container/path\n  ```\n\n? _Select an option_\n\u003e Exit\n\n---\n\nNotice **some commands are designed to accept only certain arguments**, such as (but not limited to) command names.\n\n### Help\n\n```shell\n❯ help \"navigate dirs\"\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:\n\n  To get more information about the behavior of a program in the command line, you can use the following commands:                                   \n                                                                                                                                                     \n  1. `man \u003cprogram_name\u003e`: This command displays the manual pages for a specific program, providing detailed information about its usage, options, and \n  behavior.                                                                                                                                          \n    - The `\u003cprogram_name\u003e` should be replaced with the name of the program you want to learn more about.                                               \n  2. `\u003cprogram_name\u003e --help`: Many programs provide a built-in help option that displays a summary of the command-line options and their descriptions. \n    - Replace `\u003cprogram_name\u003e` with the name of the program you want to learn more about.                                                              \n  3. Online search: You can also search for the program`s documentation or user guides online to find more detailed information about its behavior   \n  and usage.\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\nExplanation not readily available. Please revise for better results.\n\n---\n\nHelp is designed to accept the name of one or more commands.\n\n```shell\n❯ help --help\n```\n\n(Meta)**Help**\n\n_Get help about a command._\n\n_Usage_: `help \u003ccommand\u003e`\n\n_Example_: `help nano`\n\n_Example_: `help --help`\n\n_Example_: `help`\n\n---\n\nSo in in this case the correct way to ask for help would be:\n\n```shell\n❯ help \"cd\"\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:                                                                                                                                         \n                                                                                                                                                     \n  To get more information about the behavior of the cd command as a program in the command line, you can use the man command which displays the      \n  manual page for a given command. To get the manual page for cd, you can run man cd.                                                                \n\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:\n\n  - cd is used to change the current working directory.                                                                                              \n    - Usage: cd `[directory]`                                                                                                                          \n      - `[directory]` is an optional parameter specifying the directory you want to change to.                                                         \n    - If no `[directory]` is provided, cd changes to the user`s home directory.                                                                        \n    - You can use relative or absolute paths as the `[directory]` parameter.                                                                           \n    - You can use special characters like `.` (current directory) and `..` (parent directory) in the path.                                               \n    - Examples:                                                                                                                                      \n      - `cd /path/to/directory`: Changes to the directory `/path/to/directory`.                                                                          \n      - `cd ~`: Changes to the user`s home directory.                                                                                                  \n      - `cd ..`: Changes to the parent directory.                                                                                                      \n      - `cd`: Changes to the user`s home directory.\n\n---\n\nMuch more helpful but sometimes it can be a bit too much helpful. Who finds the time to read the docs? Let's get a TL;DR version.\n\n### Too long; didn't read (the manual)\n\nGive me the gist of how to use the `cd` command.\n\n```shell\n❯ tldr 'cd'\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:                                                                                                                                         \n                                                                                                                                                     \n  - cd is used to change the current working directory.                                                                                              \n    - The basic usage of cd is simply cd \u003cdirectory\u003e, where \u003cdirectory\u003e is the name of the directory you want to navigate to.                        \n    - Here are some examples of cd usages:                                                                                                           \n      - cd /path/to/directory navigates to the absolute path /path/to/directory.                                                                     \n      - cd .. navigates to the parent directory of the current directory.                                                                            \n      - cd ~ navigates to the home directory of the current user.                                                                                    \n      - cd - navigates to the previous working directory.                                                                                            \n      - cd / navigates to the root directory.                                                                                                        \n      - cd without any arguments navigates to the home directory.\n\n---\n\n### What is ... ?\n\n```shell\n❯ whatis \"cd\"\n```\n\n**Welcome to GitHub Copilot in the CLI!**\nversion 0.5.3-beta (2023-11-09)\n\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve.\n\nExplanation:                                                                                                                                         \n                                                                                                                                                     \n  - cd is a command used to change the current working directory\n\n---\n\nYou don't have to remember all these commands. You can ask GitHub Copilot to remind you by asking for help.\n\n```shell\n❯ help\n```\n\n**Welcome to GitHub Copilot in the CLI!**\n\u003e version 0.5.3-beta (2023-11-09)\n\n_I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve._\n\n#### Explanation:\n  To get help in the shell, you can use the following commands:                                                                                      \n                                                                                                                                                     \n  - `man` `[command]`: Displays the manual page for a specific command.                                                                                  \n  - `help` `[built-in command]`: Provides information about built-in shell commands.                                                                     \n  - `[command] --help`: Displays help information for a specific command.                                                                              \n  - `info` `[command]`: Shows documentation for a command using the GNU info system.                                                                     \n  - `apropos` `[keyword]`: Searches the manual page descriptions for a given keyword.                                                                    \n  - `tldr` `[command]`: Provides simplified and community-driven usage examples for command-line tools.                                                  \n  - `whatis` `[command]`: Displays a brief summary of a command.                                                                                         \n\n\nSome useful commands:\n\n- Get help for a particular command\n  \n  ```shell\n  help \u003ccommand\u003e\n  ```\n  \n- How do I ... ?\n  \n  ```shell\n  howdoi '\u003cgoal\u003e'\n  ```\n\n- Too long; didn't read (the manual).\n  \n  Give me the gist of how to use this command:\n  \n  ```shell\n  tldr '\u003ccommand\u003e'\n  ```\n\n- What is ... ?\n  \n  ```shell\n  whatis '\u003ccommand|concept\u003e'\n  ```\n\n- Use git to ...\n  \n  ```shell\n  use_git_to '\u003cgoal\u003e'\n  ```\n\n- Use GitHub CLI to ...\n  \n  ```shell\n  use_gh_to '\u003cgoal\u003e'\n  ```\n\n- Use the shell to ...\n  \n  ```shell\n  use_sh_to '\u003cgoal\u003e'\n  ```\n\n- Use Docker to ...\n  \n  ```shell\n  use_docker_to '\u003cgoal\u003e'\n  ```\n\n- Use Python to ...\n  \n  ```shell\n  use_py_to '\u003cgoal\u003e'\n  ```\n\n- Explain ...\n  \n  ```shell\n  explain '\u003cgoal\u003e'\n  ```\n\n- Suggest Command Interactively\n  \n  ```shell\n  suggest\n  ```\n\n- Suggest [Git, GitHub, Shell] Command to ...\n  \n  ```shell\n  suggest -t [git|gh|shell] '\u003cgoal\u003e'\n  ```\n\n## Pre-requisites\n\nThe following are required to use CodePilot:\n\n- A Shell: [Bash](https://www.gnu.org/software/bash/) or [Zsh](https://www.zsh.org/)\n- [Git](https://git-scm.com/)\n- [GitHub CLI](https://cli.github.com/)\n\nThey must be installed and configured before you can use CodePilot. An active [GitHub Copilot](https://copilot.github.com/) subscription is also required.\n\n## Installation\n\nCopy and paste the following command in your terminal.\n\n```shell\nwget -O install https://raw.githubusercontent.com/wasertech/CodePilot/main/install \u003e /dev/null 2\u003e\u00261 \u0026\u0026 chmod +x install \u0026\u0026 ./install\n```\n\nThen hit enter and follow the instructions.\n\n## Usage\n\n### Commands\n\nSome typical commands you can use with CodePilot are:\n\n#### Welcome\n\n```shell\n❯ welcome\n```\n\n\u003e Welcome to GitHub Copilot in the CLI!\n\u003e version 0.5.3-beta (2023-11-09)\n\u003e\n\u003e I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve.\n\u003e\n\u003e Explanation:                                                                                                                                         \n\u003e                                                                                                                                                     \n\u003e  To operate the shell:                                                                                                                              \n\u003e                                                                                                                                                     \n\u003e  - Use commands to perform specific tasks or operations.                                                                                            \n\u003e  - Use command options or flags to modify the behavior of commands.                                                                                 \n\u003e  - Combine commands using pipes (|) to pass the output of one command as the input to another.                                                      \n\u003e  - Use redirection operators (`\u003e`, `\u003e\u003e`, `\u003c`) to redirect input and output.\n\u003e \n\u003e  - Use command substitution (`$(...)` or `...`) to capture the output of a command and use it as part of another command.                             \n\u003e  - Use variables to store and manipulate data.                                                                                                      \n\u003e  - Use loops (for, while) to iterate over lists or execute commands repeatedly.                                                                     \n\u003e  - Use conditionals (if, case) to control the flow of execution based on conditions.                                                                \n\u003e  - Use control operators (\u0026\u0026, ||, ;) to combine multiple commands and control their execution.                                                      \n\u003e  - Use file and directory manipulation commands (`ls`, cp, mv, rm, mkdir, `cd`) to work with files and directories.                                     \n\u003e  - Use text processing commands (grep, sed, awk) to search for patterns and manipulate text.                                                        \n\u003e  - Use package management commands (apt-get, yum, brew) to manage software packages.                                                                \n\u003e  - Use version control system commands (git, svn) to manage source code repositories.                                                               \n\u003e  - Use system monitoring commands (ps, top, htop) to monitor system processes.                                                                      \n\u003e  - Use network-related commands (ping, curl, ssh) to interact with network resources.                                                               \n\u003e  - Use help commands (man, info, --help) to get information about commands and their usage.                                                         \n\u003e  - Use the shell`s built-in features (history, command line editing, tab completion) to enhance productivity.                                       \n\u003e                                                                                                                                                     \n\u003e  Note: The shell and its usage may vary depending on the operating system and shell you are using. \n\n#### Help\n\n```shell\n❯ help\n```\n\n\u003e Welcome to GitHub Copilot in the CLI!\n\u003e version 0.5.3-beta (2023-11-09)\n\u003e\n\u003e I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve.\n\u003e\n\u003e Explanation:                                                                                                                                         \n\u003e                                                                                                                                                     \n\u003e  To get help in the shell, you can use the following commands:                                                                                      \n\u003e                                                                                                                                                     \n\u003e  - man \u003ccommand\u003e displays the manual page for a specific command.                                                                                   \n\u003e  - \u003ccommand\u003e --help displays a brief usage message and available options for a specific command.                                                    \n\u003e  - info \u003ccommand\u003e displays detailed information about a specific command.                                                                           \n\u003e                                                                                                                                                     \n\u003e  Note: Some commands may not have detailed help available and may only provide basic usage information.                                             \n\u003e\n\u003e Some useful commands:\n\u003e\n\u003e Get help for a command:\n\u003e \n\u003e   help nano\n\u003e \n\u003e How do I ... ?\n\u003e \n\u003e   howdoi 'print hello world'\n\u003e \n\u003e Too long; didn't read (the manual page). Give me the gist of how to use this command:\n\u003e\n\u003e   tldr 'git commit'\n\u003e \n\u003e Use git to ...\n\u003e \n\u003e   use_git_to 'Undo the most recent local commits'\n\u003e \n\u003e Use GitHub CLI to ...\n\u003e \n\u003e   use_gh_to 'Create pull request'\n\u003e \n\u003e Use the shell to ...\n\u003e \n\u003e   use_sh_to 'Kill processes holding onto deleted files'\n\u003e \n\u003e Explain ...\n\u003e \n\u003e   explain 'what is a dbus session bus'\n\u003e \n\u003e Suggest Command Interactively\n\u003e \n\u003e   suggest\n\n#### Explain\n\nExplain a command or a concept.\n\n```shell\n❯ explain 'what is a dbus session bus'\n```\n\n#### Suggest\n\nSuggest a command to run.\n\n```shell\n❯ suggest -t shell \"split csv using awk\"\n```\n\n#### Use Git (command)\n\nGet help with Git.\n\n```shell\n❯ use_git_to 'Undo the most recent local commits'\n```\n\n#### Use GitHub CLI\n\nGet help with GitHub CLI.\n\n```shell\n❯ use_gh_to 'Create pull request'\n```\n\n#### Use the Shell\n\nGet help with the shell.\n\n```shell\n❯ use_sh_to 'Kill processes holding onto deleted files'\n```\n\n#### Use Docker\n\nGet help with Docker.\n\n```shell\n❯ use_docker_to 'list images'\n```\n\n#### Use Python\n\nGet help with Python.\n\n```shell\n❯ use_py_to 'list files in a directory'\n```\n\n#### How do I ... ?\n\nAsk GitHub Copilot how to do something.\n\n```shell\n❯ howdoi 'print hello world'\n```\n\n#### Too long; didn't read (the manual page)\n\nGive me the gist of how to use this command.\n\n```shell\n❯ tldr 'git commit'\n```\n\n#### Can you please ... ?\n\nCan you please suggest a command to execute?\n\n```shell\n❯ can_you_please show me my running processes\nI can certainly try. Who knows maybe you'll like my solution, if so please simply copy the command I'll suggest and I'll take care of the rest.\n\nWelcome to GitHub Copilot in the CLI!\nversion 1.0.5 (2024-09-12)\n\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\n\nSuggestion:                                                                                                                                                                                                                              \n                                                                                                                                                                                                                                         \n  ps aux                                                                                                                                                                                                                                 \n\n\n? Select an option\n\u003e Copy command to clipboard\n\nCommand copied to clipboard!\nWould you like me to execute the suggested command?\nwaser: Yes please.\nExecuting the suggested command now...\nUSER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\nroot           1  0.0  0.0  21288 11916 ?        Ss   oct19   0:01 /sbin/init splash\n[...]\nwaser      95164  0.0  0.0  10532  6956 pts/9    R+   00:40   0:00 ps aux\nI hope this was useful. If you have any other questions, feel free to ask using the help command.\n```\n\nYou can also use `can_you`, `could_you` and `could_you_please` interchangeably.\n\n### `copilot` `==` `codepilot`\n\nYou can run CodePilot by using either `copilot` or `codepilot` commands interchangeably.\n\n```shell\n❯ which copilot\n```\n\n\u003e copilot: aliased to gh copilot\n\n```shell\n❯ which codepilot\n```\n\n\u003e codepilot: aliased to gh copilot\n\n```shell\n❯ codepilot --version\nversion 0.5.3-beta (2023-11-09)\n❯ copilot --help\nYour AI command line copilot.\n\nUsage:\n  copilot `[command]`\n\nExamples:\n\n$ gh copilot suggest \"Install git\"\n$ gh copilot explain \"traceroute github.com\"\n\n\nAvailable Commands:\n  config      Configure options\n  explain     Explain a command\n  suggest     Suggest a command\n\nFlags:\n  -h, --help      help for copilot\n  -v, --version   version for copilot\n\nUse \"copilot `[command]` --help\" for more information about a command.\n```\n\n## Updating CodePilot\n\nWhen Copilot tells you there's a new version available, you can update GitHub Copilot CLI by running the following command:\n\n```shell\n❯ gh_copilot_install\n[copilot]: \nupgraded from v0.5.3-beta to v0.5.4-beta\n✓ Successfully upgraded extension\n```\n\nCopilot will prompt you for a version number. You can either enter the version number you want to install or leave it blank to install the latest version. Then hit enter to confirm.\n\nIf you want to update the shell scripts, you can run the following command:\n\n```shell\ncodepilot_update\n```\n\n## Contributing\n\nBuilt with the help of [GitHub Copilot](https://copilot.github.com/). Inspired by [Howdoi](https://github.com/gleitz/howdoi), [tldr](https://github.com/tldr-pages/tldr) and [what-is-cli](https://github.com/zeke/what-is-cli).\n\nIf like this project, please consider:\n1. Starring the [Project](https://github.com/wasertech/CodePilot)\n2. Sharing it with your friends and colleagues\n3. Becoming a [sponsor](https://github.com/sponsors/wasertech) ❤️\n4. Helping GitHub foot the bill for [Copilot](https://github.com/features/copilot) by subscribing to it\n5. Submmiting new ways to wrap the GitHub Copilot CLI into a more user-friendly interface through the use of various aliases and functions\n\n## License\n\n[GNU General Public License Version 3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasertech%2Fcodepilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasertech%2Fcodepilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasertech%2Fcodepilot/lists"}