Skip to content

songzblink/omtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omtool

omtool is a Linux operation and manage customized software. Its purpose is to support some environment with cluttered commands or the action needed multiple steps. For the most important, with omtool we can customize the commands in the system. THAT'S FUN!

Quickly start

Install

Customize our first command

Now there is a requirement that How many files and directories are in current path?. Utilizing the "shell command" is a good choice.

Count the number of files:

ls -l |grep "^-"|wc -l

Count the number of directories:

ls -l |grep "^d"|wc -l

OK, now the requirement is met. We took two steps in total. But is there a better way to do this thing? I mean, if this requirement takes dozens of steps and hundreds of steps.

omtool can do this thing. It can define these operations with a single command.

Development plan

  • Develop some common output format to render the result of command;
  • Support for using configuration files to define commands (CDC,Configuration Define Command);

About

Linux operation tool basic framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages