Package: imake
iMakeRequirements|Install|Configuration|Using|Donation||More Commands|Built with ❤︎ by:William Caninin free time,
  to the sound of the playlist:Bursting Of The TympanumiMakeis a command line tool to simplify commands inPythonprojects, discarding the usability of aMakefilefile.
AsiMakesaves on typed commands, passing them a configuration file.RequirementsTo work correctly, you will first need:Python(v3.9 or recent);Pip(v21.0.1 or recent) must be installed;Installing$pipinstallimake--userConfigurationThe configuration file must exist at the location whereimakewill be called. The file must be named.imake, that is, a file hidden on Unix systems.To create the file use command:imakeinitAfter creating the file, you should leave it with the following structure. Example:[build]commands=["python setup.py sdist"]The key with the namecommandsis an Array and must be mandatory foriMake. In this key you must inform the commands you want to execute using the primary key, in this case, thebuild.Option with multiple commands:[build]commands=["rm -rf build","rm -rf docs/_build;","python setup.py sdist"]You can also execute commands in blocks instead of a list, as follows using triple quotes:[clean]commands=["""if [[ -d "build" ]]; thenrm -r build;firm -rf docs/_build;rm -rf .pytest_cache;"""]iMakesettings still have 3 other keys, which aredescription,initial_message, andfinal_message. All optional.The keydescriptionyou must put only a description for a given command. Example:[build]description="This command compiles the project."commands=["rm -rf build","rm -rf docs/_build;","python setup.py sdist"]Theinitial_messagekey is a message that will appear before the commands start. Example:[build]description="This command compiles the project."initial_message="Starting the build ..."commands=["rm -rf build","rm -rf docs/_build;","python setup.py sdist"]Thefinal_messagekey is a message that will appear after the commands are finished. Example:[build]description="This command compiles the project."initial_message="Starting the build ..."commands=["rm -rf build","rm -rf docs/_build;","python setup.py sdist"]final_message="Build command finished!"Note: The position of the keys does not imply anything, but the values do. The command that you put first in thecommandskey will be the first to be executed.Another interesting option is that you can call the execution of a command within another one usingimake. Would be like this:[build]description="This command compiles the project."initial_message="Starting the build ..."commands=["imake clean -q","python setup.py sdist"]final_message="Build command finished!"Notice that the commandimake clean -qis insidecommands. Where the-qoption means to silence verbose mode.UsingAfter making the settings in the file.imake, execute the commandimakefollowed by the primary key, which in our example isbuild. It will look like this:$imakebuildYou can run the help command,imake -hto show which commands are available to you. Any configuration that is in the.imakefile will be shown inhelp, minus the description of each command, which will be shown only if you run the--descor-doption, for example:$imakebuild--descMore CommandsFor more command information, use:$imake-hDonationClick on the image below to be redirected the donation forms:LicenseThe project is available as open source under the terms of theMIT License©CreditsSee,AUTHORS.