0.1.0 • Published 3 months ago

@brifka/main v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Brifka

Brifka is simple version controll system that has:

  • commiting - taking snapshots of the current project state and saving it on the timeline,
  • FTP client - ability to connect to FTP server and upload built project.
  • Docker intergration <under development> - ability to run docker compose in order to test your services locally.

Installation

npm install -g brifka

Initialization

brifka init

How to use

Initialize the repository using init command. Then write some initial code of your project and use track <path> command to add files to tracked stage. When you will be ready, use commit <commit_title> command and all files from tracked stage will be commited. You can check how many files are in tracked stage using log command, or check list of all not tracked and tracked files using log full command.

If you find that last commit had errors, you can remove it with the uncommit command. Also, if you think that your project has gone in wrong direction, you can use change <commit_hash> command to load state of chosen commit. To get hash of commit, you can use commits command. Commiting from commit that is not latest in the timeline will remove all newer commits.

Commands

help

brifka help [ | <command_name>]

Description

Show documentation of all commands or documentation of specific command if command_name was provided.

track

brifka track [<file_path> | <directory_path>]

Add all files from directory if <directory_path> was provided or single file if <file_path> was provided. If the directory has any paths included in the .brignore file, they will be skipped.

untrack

brifka untrack [<file_path> | <directory_path>]

Description

Remove all files from directory if directory_path was provided or single file if file_path was provided.

commit

brifka commit [<commit_title>]

Description

Take snapshot of current project state and save it on the timeline.

uncommit

brifka uncommit [<commit_hash>]

Description

Remove last commit from timeline.

change

brifka change [<commit_hash>]

Description

Load state of chosen commit.

commits

brifka commmits

Description

Show list of all commits.

FTP

ftp list

brifka ftp list [ | <ftp_directory>]

Description

Lists all files and directories from <ftp_directory>, or when not provided, from root directory specified in brifka.config.json.

ftp push

brifka ftp push

Description

Builds project based on last commit and sends it to the FTP server specified in brifka.config.json.

Docker under development

0.1.0

3 months ago

0.0.10

3 months ago

0.0.11

3 months ago

0.0.12

3 months ago

0.0.13

3 months ago

0.0.14

3 months ago

0.0.3

3 months ago

0.0.9

3 months ago

0.0.8

3 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.7

3 months ago

0.0.6

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago