Skip to content

vcargo is a submodule that calls the cargo, however functions and checks can be added before or after commands.

License

Notifications You must be signed in to change notification settings

ViniciosLugli/vcargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcargo

A submodule of cargo

A "private" project but that can be useful to other users, it simply pre-processes functions before and after the cargo commands.

Features

  • Can execute functions before and after cargo commands in cli.
  • Modification simple, with few lines of code you can add macros to your vcargo to improve your development.
  • It is a good project for beginners to adapt on rust language and learn the cli commands.

How to use

Compilation and paths:

You can compile it with your own cargo and create an optimized build. After creating your executable it is necessary to add it to the environment path of your system, either inside the target folder of your project, or by moving it to another specific folder for applications that need to be in the system paths.

Code modifications:

Its use is simple, and can be changed to your style. For example, a current additional module that when starting a project with the command vcargo init, add files after initialization of project from a predetermined folder, so you can change this module changing the path of the constant _CUSTOM_FILE_INIT in the file main.rs, other than that, accessing the functioncheck_and_run_command. where below the execution of the cargo, or even prior to it, functions can be added ...

Current modules

  • After init new project: Copies files from a predetermined folder to this new project.

Example:

Shell example of vcargo with init module adding new files

License

MIT

About

vcargo is a submodule that calls the cargo, however functions and checks can be added before or after commands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages