You are browsing as a guest. Sign up (or log in) to start making projects!

CustomCMD

  • 3 Devlogs
  • 8 Total hours

CustomCMD is a simple and easy to use custom command solution. It's basically macros that you can use.

Ship #1

I've created an easy way to create your own terminal commands. Terminal commands are basically scripts that you can run. You can use the web ui (customcmd ui) to easily create commands or use the define command (customcmd define ) with the required details.

Check it out by installing it with npm
```npm install -g @jtaco/customcmd```

This is the first time i've done anything in the terminal like this. I'm proud of the system as a whole. More the command line stuff than the web ui.

Try project → See source code →
Open comments for this post

1h 32m 16s logged

I’ve finished part 1 of the project!

Part 1 brings the whole command line working. You can define, run, list, and remove your custom commands. They are all stored in a simple js file in ~/.customcmd/commands.js so you can edit them there if you prefer.

customcmd list
customcmd remove <name>
customcmd define <name> --description "You description" --arg "arg name" --cmd 'command ${arg name}'
customcmd run <name> "arg name>

Take a look at the video to see for yourself.

Next up I plan to add a customcmd ui command which hosts a website for you to manage your custom commands with a full ui!

0
0
1
Open comments for this post

29m 20s logged

Started the project out today. The idea is an easy way to build custom commands that are basically scripts except hopefully easy to build and use.

Today I created the project, got it installed on my system, and started working on the data structures behind how it works. I’ve planned out the json for how the commands will be stored and started working on a system that will read through the json.

0
0
3

Followers

Loading…