fns-cli

command module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

fns-cli is a Go-based CLI tool designed to assist with daily developer tasks, specifically focusing on integrations with Jira and GitLab. It provides a command-line interface for managing issues, pipelines, and git-related workflows.

[!NOTE] Work in Progress: This project is currently being migrated from a legacy version that I developed and use. While the command structures are visible, the underlying implementations are still under development.

Learn more: https://fns-cli.afonso.dev


Main Technologies

  • Go: Primary programming language (version 1.25.7+).
  • Cobra: CLI framework for defining commands and flags.
  • Lipgloss: UI styling library for terminal output.
  • Git: Direct interaction with local git repositories via shell commands.

Architecture

  • main.go: Entry point that executes the root command.
  • cmd/: Contains the CLI command definitions using Cobra.
    • root.go: Root command and subcommand registration.
    • git/: Git-specific commands (branch, commit, mr, pipelines).
    • jira/: Jira-specific commands (issue, assign, link, transition).
  • internal/: Core business logic and helpers.
    • config/: Handles configuration loading from $HOME/.fns-cli/config.json.
    • git/: Git-related utilities (e.g., getting current branch).
    • ui/: UI helper functions and centralized error handling using Lipgloss.

Installation

curl -fsSL https://fns-cli.afonso.dev/install.sh | sh

or

go install github.com/afonsodemori/fns-cli@latest

Configuration instructions at https://fns-cli.afonso.dev/guide/getting-started.html

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
git
internal
git
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL