Skip to content

Latest commit

 

History

History
100 lines (78 loc) · 2.79 KB

File metadata and controls

100 lines (78 loc) · 2.79 KB

CMDLine Command Generator

Generate command line commands for any operating system without any knowledge of the tool or framework. Simply select your OS, choose a category, pick an action, and get the exact command you need.

Features

  • Multi-OS Support: Generate commands for macOS, Linux, and Windows
  • 12 Command Categories:
    • File Operations
    • Directory Operations
    • System Information
    • Networking
    • Process Management
    • Package Management
    • Git Commands
    • Docker Commands
    • Permissions & Ownership
    • Search & Find
    • Compression & Archives
    • Text Processing
  • Auto OS Detection: Automatically detects your operating system
  • Copy to Clipboard: One-click copy for generated commands
  • Command Explanations: Learn what each command does
  • Responsive Design: Works on desktop and mobile devices
  • Quick Examples: Common command examples for quick reference

Live Demo

Visit the live website: Deployed Site

Local Development

  1. Clone the repository:

    git clone https://github.com/mantreshkhurana/cmdline-command-generator.git
  2. Open the website:

    cd cmdline-command-generator
    open index.html  # macOS
    # or
    xdg-open index.html  # Linux
    # or
    start index.html  # Windows

Deployment

This project is configured to automatically deploy to GitHub Pages when you push to the stable branch.

Manual Setup for GitHub Pages

  1. Go to your repository Settings
  2. Navigate to Pages section
  3. Under "Build and deployment", select "GitHub Actions" as the source
  4. Push changes to the stable branch
  5. The website will be available at https://<username>.github.io/cmdline-command-generator/

Project Structure

cmdline-command-generator/
├── assets/
│   ├── bg.jpeg             # Background image
│   ├── linux.png           # Linux icon
│   ├── macos.png           # macOS icon
│   └── windows.png         # Windows icon
├── scripts/
│   ├── app.js              # Application logic
│   └── commands.js         # Command database
├── styles/
│   └── style.css           # Styling with CSS variables
├── index.html              # Main HTML file
├── CHANGELOG.md
├── LICENSE
└── README.md

Contributing

Contributions are welcome! You can contribute to this project by forking it and making a pull request.

After forking:

git clone https://github.com/<your-username>/cmdline-command-generator.git
cd cmdline-command-generator
git checkout -b <your-branch-name>
# after adding your changes
git add .
git commit -m "your commit message"
git push origin <your-branch-name>

Author