enable certain commands in root level of a project without writing script nor manual setup for local machine

32 views Asked by At

Currenly, if I want to run something like start in a project, let say /myproject I have to make a new bash file and name it like start in order to have some sort of command like ./start to work properly.

But I want to do is somehow I can add some sort of config file into the root folder to run all different kinds of command without ./ needed and simply start or anything else as I want to make, without having to create whole bunch of bash files.

Is there a way to setup it so if someone just pull a git repo down can just have it?

Assume that the git repo also contains package.json or maybe gradle.

However, I dont want to use npm run xxx or gradle xxx its just too much typing...

Sorry if I am asking too much for a setup lol

0

There are 0 answers