Skip to content
/ creacmd Public

Module used to convert a program to the command line

License

Notifications You must be signed in to change notification settings

mrwaks/creacmd

Repository files navigation

Chalk

CREACMD

👨‍⚕️ 🔬 🚀

creacmd is released under the MIT license. Current npm package version. Current npm package version.

Creacmd allows you to convert your scripts into a command line.

🚀 Imagine being able to create a command line linked to one of your scripts, in a fraction of a second

😎 This is now possible with only three words in your terminal

🚀 Yes you read that right, in just three words ! 🚀


Compatible with Python, Javascript and Shell Bash (for the moment).


What’s In This Document

👷 Installation

To install creacmd, run this command line in your terminal:

npm install creacmd -g

🎓 Usage

To start create a script in .js, .py or even .sh:

(For our example we create a hello.js file)

function helloWorld() ({
    console.log("Hello World !");
})();

🔬 creacmd

Then... convert your script to a command line by running the command "creacmd", followed by the script to convert, followed by the command name you wish:

creacmd hello.js hello

🚀 Congratulations ! The hello command is now functional !

Test your new command line !

hello

Hello World !

🥳 🎈 Congratulations you have created your first command line with creacmd !

🗑️ delcmd

At any time you can delete a command line that you created with the "delcmd" command followed by the name of the command that you want to delete:

delcmd hello

🚀 The hello command, successfully deleted !

Now if you reissue the "hello" command in the terminal:

hello

command not found: hello

🤝 How to Contribute

Whether you want to help fix bugs, improve documentation or spread the word, it will be with great pleasure 💪 ❤️

Do not hesitate to take a look at the github repository of creacmd.

For any questions or suggestions do not hesitate to write to rudy.waks@gmail.com.

📝 License

Licensed under the MIT License.

❤️ Thanks

creacmd thanks you in advance for its use, and we hope to satisfy you !

About

Module used to convert a program to the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published