Skip to content

Commands

Cooper edited this page May 4, 2023 · 7 revisions

init
Creates upm folder and repository in current directory.

python upm.py init
./upm init

about
Displays context including the github link and version.

python upm.py about
./upm about

commit
Create a new commit named after the given parameter.

python upm.py commit 'C:/6969/test' patch-1.02
./upm commit 'usr/project-1' release-2.1.3

track
Starts tracking given file which now can be updated.

python upm.py track 'project/main.cpp'
./upm track 'project/main.cpp'

untrack
Removes given tracked file if found.

python upm.py untrack 'project/main.cpp'
./upm untrack 'project/main.cpp'

update
Update the given tracked file if found in tracked folder.

python upm.py update 'project/main.cpp'
./upm update 'project/main.cpp'

build
Create's a new build and stores it in builds directory.

python upm.py build 'project/main.cpp' weed-calc v1.0.0
./upm build 'project/main.cpp' weed-calc v1.0.0

clear_changes
Wipes the changes file which keeps logs about repository.

python upm.py clear_changes
./upm clear_changes

uninit
Deletes repository in current directory with given name.

python upm.py uninit 'Python-Package'
./upm uninit 'Python-Package'

change_repo
Changes working repository for current program instance.

python upm.py change_repo 'Obama-coding'
./upm change_repo 'Obama-coding'

scoop_setup
Sets up scoop console app, if you have scoop installed.

python upm.py scoop_setup
./upm scoop_setup

zip_repo
Zips the current repository and names it after parameter.

python upm.py zip_repo queef-9000
./upm zip_repo queef-9000

encode_file (DEPRECATED)
Encodes file if you have upm_coder.exe.

python upm.py encode_file test.txt
./upm encode_file test.txt

decode_file (DEPRECATED)
Decodes file if any are in encoded folder.

python upm.py decode_file test.txt
./upm decode_file test.txt

add_readme
Adds a README.md file to the repository.

python upm.py add_readme
./upm add_readme

filter_file
Looks for given word in file and removes it

python upm.py filter_file
./upm filter_file
Clone this wiki locally