cmd

package
v0.0.0-...-0803133 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: CC0-1.0 Imports: 20 Imported by: 0

Documentation

Overview

              ▄▀▄   ▄▄▄▄   ▄       ▄
  ▄        ▄▀█ █   █    ▀▀▀█   ▄▄▄▀█▀▄
▄▀ █        █  █   ▀█ █▀▄▄▀  ▄▀ █▄██ █

▄▀ ▀▀▀▄ ▄█ █ █ █▄ ▄ █ ██ █ ▄▀▀▄

▀█  █▀▀   ▄▀ ▀  █    █ ▄▄▀▄▀   █  ██  █   ▄▀█▄▄ ▀▄
 █  █    █  ▄█  █    █ █ ▀     █  ▀█  █ ▄▀ ▄▀  ▀▄█▀▄
 █  █    █  ██  █    █ █        ▀▄ █  █ ██ █   ▄▀█▄▀
 █  ▀▄▀▄ █  ▀█  ▀▄   ███          ▀█  █  ▀▄█▀▄▀█▄▀
 ▀▀▄ ▄▀  ▀▀▄ ▄▀▄ ▄▀ ▄▀█           ▄▀  █    ▀▄█▄▀
    ▀       ▀   ▀   ▀▀          ▄▀  ▄▀       ▀
                               ▀▄ ▄▀
                                 ▀

▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄ █▄▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄▄█ █▄▄▄▄▄▄█

▄▄▄     ▄▄▄  ▄▄▄  ▄▄▄▄▄▄▄  ▄▄▄       ▄▄▄  ▄▄▄
███     ███  ███  ██▄▄▄▄█  ███ █▀▀█  ███  ███
███     ███  ███  ███      ███ ▀███  ███  ███
███     ██▀▀▀▀██  ███      ██▀▀▀▀██  ██▀▀▀▀██
▀▀▀     ▀▀▀▀▀▀▀▀  ▀▀▀      ▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀

Copyright © 2020 Steve Francia <spf@spf13.com> This file is part of CLI application foo.

▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄       ▄▄▄▄▄▄         ▄▄▄▄▄

▐▓▓▓▓▓▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓█▄ ▐▓▓▓▓▓▓▓▓▌ ▄█▓▓▓▓▓▓█▄ ▄█▓▓▓▓▓█▄

▀▀▀▐▒▒▒▌▀▀▀   ▐▒▒▒▌ ▀▒▒▒█   ▐▒▒▒▌▀▀▀▀    █▒▒▒▀  ▐▒▒▒▌   █▒▒▒▀▀▀▒▒▒█
   ▐░░░▌      ▐░░░▌  ▐░░░▌  ▐░░░░░░▌    ▐░░░▌    ▀▀▀   ▐░░░▌   ▐░░░▌
   ▐▓▓▓▌      ▐▓▓▓▌  ▐▓▓▓▌  ▐▓▓▓▓▓▓▌    ▐▓▓▓▌ ▐▓▓▓▓▓▌  ▐▓▓▓▌   ▐▓▓▓▌
   ▐▒▒▒▌      ▐▒▒▒▌ ▄▒▒▒█   ▐▒▒▒▌        █▒▒▒▄ ▀▀▒▒▒▌   █▒▒▒▄▄▄▒▒▒█
   ▐░░░▌      ▐░░░░░░░█▀    ▐░░░▌         ▀█░░░░░░█▀     ▀█░░░░░█▀
    ▀▀▀        ▀▀▀▀▀▀▀       ▀▀▀            ▀▀▀▀▀▀         ▀▀▀▀▀

  ┌───────┐  ┌──────┐   ┌───────┐  ┌───────┐  ┌───────┐
 ═╘═╕∙ ·╒═╛ ═│∙  ╒═╕└┐ ═│∙  ╒═╕∙│ ═│∙  ╒═══╛ ═│∙  ╒═╕∙│
 ░░▒│   │▒░ ░│   │█│ │  │   └┐└─┘  │   │┌──┐ ░│   │█│ │
 ░░▒│   │▒░ ▒│   │▓│ │ ░│   ┌┘░▒▓ ░│   │└┐·│ ▒│   │▓│ │
 ░░▒│   │▒░ ▓│   └─┘ │ ▒│   │░░▒▓ ▒│   │░│ │ ▓│   └─┘ │
 ═══│∙ ·│══ ═│∙     ┌┘ ═│∙  │════ ═│∙  ╘═╛∙│ ═│∙     ∙│
    ╘═══╛    ╘══════╛   ╘═══╛      ╘═══════╛  ╘═══════╛

Index

Constants

This section is empty.

Variables

View Source
var Model = struct {
	app      *tview.Application
	flexV    *tview.Flex
	textView *tview.TextView
	scr      tcell.Screen
}{
	// contains filtered or unexported fields
}

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewCmd

func NewCmd(args []string) *cmd.Cmd

func RunCmd

func RunCmd(cmd *cmd.Cmd) string

func SetFontOptions

func SetFontOptions(theFont *tdf.TheDrawFont) error

func StartScreen

func StartScreen()

Types

This section is empty.

Jump to

Keyboard shortcuts

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