CommandX is a simple command-line interface program implemented in Python. It allows you to navigate directories, open files and applications, perform calculations, and more, all from the command line.
- File Operations : CommandX has a expanded file operation system, allowing you to create, rename, copy/paste, and delete folders & files. These operations can be executed using separate commands for better file/folder management.
- File Navigation : Enhancements have been made to the file navigation feature. You can now navigate directly to a specific folder or parent folder using relative paths and special commands.
- Command Aliases : With CommandX you can use command aliases to execute different variations of commands. For example, instead of typing
open
you can uselaunch
orstart
to achieve the same action. - Search the web : This feature seamlessly conduct web searches by integrating with popular search engine
google
, enabling you to find information, articles, resources, and much more, without leaving the command-line interface. - Input Validation : CommandX includes input validation to handle edge cases and prevent errors. For example, when prompting for a directory name, the tool checks if the directory exists before changing the current directory.
- Command History Persistence : CommandX stores the command history in a file, ensuring that your command history is maintained across the session. You can review and access previous commands for reference.
Once CommandX is up and running, you can interact with it using various commands. Here are some examples:
- Navigate directories: Use
back
andcd
/goto
command to change directories back and forth. - Open files and applications: Use
open
/start
/launch
command to open files, applications, or the current directory. - List files and folders: Use
list
/ls
command to see the files and folders in the current directory. - Search the web: Use
search
command to perform a web search. - Perform calculations: Use
calculate
command to perform simple calculations. - Clear chat history: Use
clear
/cls
command to clear the command history. - View command history: Use
chat history
command to view the command history.
For a complete list of commands and their descriptions, use the help or ? command.
- Clone the repository.
https://github.com/your_username/CommandX.git
- Navigate to the project directory.
cd CommandX
- Run the command
python terminal.py
- Enter commands in the prompt and execute them.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.