app

package
v0.0.0-...-787ceec Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package app provides the core app functionality. This file, flags.go, provides support for parsing command-line flags and reading a JSON file of runtime options, and merging the two so that options override the config file which overrides the defailts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bank

type Bank struct {
	LoginURL          string
	Username          string
	Password          string
	Accounts          arrayFlags
	SecurityQuestions map[string]string
}

Bank holds command-line flags related to web banking

type Flags

type Flags struct {
	Sheets Sheets
	Bank   Bank
}

Flags holds all the command-line flags

func ParseFlags

func ParseFlags() Flags

ParseFlags parses command-line flags

type Sheets

type Sheets struct {
	IndexSheetID   string
	ConfigFileName string
	AppSecretFile  string
	UserAuthFile   string
}

Sheets holds command-line flags related to spreadsheets

Jump to

Keyboard shortcuts

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