command
module
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Oct 15, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Quick source management tool
Installation Prerequisites
gh
git
- $Git\usr\bin must be in PATH
- gives
yes
, grep
, sed
and other Unix utilities
Installation
go install github.com/untillpro/qs
Usage
Must be run in cloned github repo folder.
Path qs.exe should be added to system PATH env variable.
-
qs
: show status of current folder
-
qs d
: Download sources (git pull)
-
qs u -m [message]
: Upload sources (git add + commit + push)
-
qs r
: Creates a release
-
qs g
: Shows Git GUI
-
qs -h
, qs --help
: Help for qs
-
qs -v
, qs --verbose
: Verbose output
-
qs fork
: Forks repo to user's account and creates upstream.
-
qs dev repo-name
: Makes new dev branch with name repo-name.
Repo-name can be copied as [Name and Permanent link] from Project Kaiser task.
Read version from go file
Create file version.go
in src folder with body
package main
var Major = 1
var Minor = 0
var Patch = 0
Now you can get version from go
file
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.