Skip to main content

A command buffer for terminals.

Project description

cbuff

version python

cbuff - Command Buffer

cbuff (short for Command Buffer) is a versatile command-line tool that empowers users to efficiently store, manage, and execute frequently used commands and workflows. With its user-friendly interface, cbuff simplifies command-line tasks, improves productivity, and reduces the risk of errors.

  • cbuff can store long paths, commands, also multiple commands which can run sequentially.

  • cbuff can take parameters so you don't have to write a big command again.

  • It is preferred to use an alias for cbuff. Something like 'cb'. Currently you have to define it manually.

Key Features

  • Simplicity and Convenience: cbuff offers a straightforward and convenient way to manage and execute command-line operations, reducing the need to remember complex commands.

  • Productivity Boost: By streamlining repetitive tasks and simplifying command execution, cbuff can enhance productivity in various workflows.

  • Customization: Users can create aliases for their most-used commands, tailoring cbuff to their specific needs and workflows.

  • Multicommand system: Users can create aliases which can store multiple commands which execute sequentially.

  • Cross-Platform Compatibility: cbuff is designed to work on multiple platforms, ensuring consistency in command execution across different environments.

  • Documentation and Collaboration: cbuff can be used to store and share common commands and snippets, promoting consistency in command usage, especially in collaborative environments.

  • Open Source Community: If cbuff is open-source and actively maintained, it may attract contributions from the open-source community, leading to feature enhancements and issue resolution.

Installation

Use pip install cbuff to install cbuffer.

Usage

How to use cbuff:

This program will help users to create a cmd prompt command dictionary.

The default storage dir is downloads.
The users will be able to:
- push one command                                          -> cbuff push | p <command> <alias>
- push multiple commands                                    -> cbuff push | p "<command1>&&<command2>" <alias>
- push a path when alias is prefixed by @ (open terminal)   -> cbuff push | p <path> @<alias>
- view the commands with their unique alias key             -> cbuff view | v
- run pushed commands with that alias key                   -> cbuff <alias>
- pass params when you run alias (command must contain {})  -> cbuff <alias> <param1> <param2> ...
- remove the pushed commands with the key                   -> cbuff remove | r <alias>
- open the buffer in notepad/vim for quick edit             -> cbuff open | o
- reset the system                                          -> cbuff reset | re
- get help for cbuff                                        -> cbuff help | h

* You can provide an alias for cbuff altogether. Instead of typing cbuff you can define something like 'cb' in your terminal.
* You can use "" while making an alias for storing commands having spaces.
* You can execute cbuff commands inside cbuff.
* You can combine cbuff commands like cbuff p "cbuff reset&&cbuff open" quick-edit
  and run it like : cbuff quick-edit or cb quick-edit if defined as stated earlier.

License

cbuff uses the MIT License. For more details, look for the license file.

Contributing

Contributions to cbuff are welcome! If you'd like to contribute or report issues, please visit the cbuff GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbuff-1.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

cbuff-1.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file cbuff-1.0.1.tar.gz.

File metadata

  • Download URL: cbuff-1.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for cbuff-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7d87d4c348b69dd2b55c97be5899c8d38833203212fc4c930d225923ffa5e3aa
MD5 2e634860470ceb72e97bfd6cc7211cf1
BLAKE2b-256 c653d8c8af274d917c4fa89eaa213b91d486a7023ec0e405f021f22ac86d93cc

See more details on using hashes here.

File details

Details for the file cbuff-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cbuff-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for cbuff-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45df7bbee9b5a94cb2f8729af5eb21ca5be64a2b64956587f85c37cd0cfa3906
MD5 c64e2604502d82ed3ca878b523c885fa
BLAKE2b-256 a9ec91f383b67f424ec9aed249dc0ddf44d882287413657942744ea6d2ce9249

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page