ccommits

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation ΒΆ

Index ΒΆ

Constants ΒΆ

View Source
const BRANCH string = "🌲"
View Source
const GITMOJI string = "2. Select a gitmoji"
View Source
const LONG_DESC string = "4. Write a Longer Description"
View Source
const MAIN_DESC string = "3. Write a Short Description"
View Source
const REMOTE string = "πŸ‘Ύ"
View Source
const REPO string = "πŸ“¦"
View Source
const TITLE string = "CONVENTIONAL COMMITS CLI"

String constants

View Source
const TITLE_Y int = 2
View Source
const TYPE string = "1. Select the type of change"
View Source
const VERSION string = "v0.1.0 - Riccardo La Marca"

Variables ΒΆ

View Source
var CHANGE_TYPE = map[string]string{
	"FEAT":     "Adds or remove new feature",
	"FIX":      "Fixes a bug",
	"REFACTOR": "Restructure the code",
	"PERF":     "Improve Performance",
	"STYLE":    "White-space, formatting, etc.",
	"TEST":     "Add missing tests or correcting",
	"DOCS":     "Affect documentation only",
	"BUILD":    "Affect build components",
	"OPS":      "Affect operational components",
	"CHORE":    "Miscellaneous commits",
}
View Source
var DIRECTIONS map[tcell.Key]int = map[tcell.Key]int{
	tcell.KeyLeft:  -1,
	tcell.KeyRight: 1,
}
View Source
var GITMOJI_ARRAY = map[string]string{
	"✨":  ":sparkles: Introduce new features",
	"🎨":  ":art: Improve structure of the code",
	"⚑️": ":zap: Improve performance",
	"πŸ”₯":  ":fire: Remove code or files",
	"πŸ›":  ":bug: Fix a bug",
	"πŸš‘οΈ": ":ambulance: Critical hotfix",
	"πŸ“":  ":memo: Add or update documentation",
	"πŸš€":  ":rocket: Deply stuff",
	"πŸŽ‰":  ":tada: Begin a project",
	"βœ…":  ":white_check_mark: Add, update, or pass tests",
	"πŸ”’οΈ": ":lock: Fix security or privacy issue",
	"πŸ”":  ":closed_lock_with_key: Add or update secrets",
	"πŸ”–":  ":bookmark: Release/Versions tags",
	"🚨":  ":rotating_light: Fix compiler/linter warnings",
	"🚧":  ":construction: Work in progress",
	"πŸ’š":  ":green_heart: Fix CI Build",
	"⬇️": ":arrow_down: Downgrade dependencies",
	"⬆️": ":arrow_up: Upgrade dependencies",
	"πŸ“Œ":  ":pushpin: Pin dependencies to specific version",
	"πŸ‘·":  ":construction_worker: Add or update CI system",
	"♻️": ":recycle: Refactor code",
	"βž•":  ":heavy_plus_sign: Add a dependency",
	"βž–":  ":heavy_minus_sign: Remove a dependency",
	"πŸ”§":  ":wrench: Add or update configuration files",
	"πŸ”¨":  ":hammer: Add or update development scripts",
	"✏️": ":pencil2: Fix typos",
	"πŸ’©":  ":poop: Write bad code that needs to be improved",
	"βͺ️": ":rewind: Revert changes",
	"πŸ”€":  ":twisted_rightwards_arrows: Merge branches",
	"πŸ“¦οΈ": ":package: Add or update compiled packages",
	"πŸ‘½οΈ": ":alien: Update code due to external API changes",
	"🚚":  ":truck: Move or renamed resources (paths, ...)",
	"πŸ’₯":  ":boom: Introduce breaking changes",
	"🍱":  ":bento: Add or update assets",
	"πŸ”Š":  ":loud_sound: Add or update logs",
	"πŸ”‡":  ":mute: Remove logs",
	"πŸ—οΈ": ":building_construction: Make architectural changes",
	"🀑":  ":clown_face: Mock things",
	"πŸ™ˆ":  ":see_no_evil: Add or update a .gitignore file",
	"⚰️": ":coffin: Remove dead code",
	"πŸ§ͺ":  ":test_tube: Add a failing test",
	"🧱":  ":bricks: Infrastructure releated changes",
	"🦺":  ":safety_vest: Add or update code for validation",
}

Functions ΒΆ

This section is empty.

Types ΒΆ

type CCommitWindow ΒΆ

type CCommitWindow struct {
	// contains filtered or unexported fields
}

func CCommitWindow_new ΒΆ

func CCommitWindow_new(gitinfo *util.GitInfo) *CCommitWindow

func (*CCommitWindow) Display ΒΆ

func (win *CCommitWindow) Display()

func (*CCommitWindow) Run ΒΆ

func (win *CCommitWindow) Run() string

Directories ΒΆ

Path Synopsis
This file contains all the styles for the content of the ccommits screen manager.
This file contains all the styles for the content of the ccommits screen manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher πŸ‡»πŸ‡³