-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmdArch.go
More file actions
26 lines (20 loc) · 713 Bytes
/
cmdArch.go
File metadata and controls
26 lines (20 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
////////////////////////////////////////////////////////////////////////////
// Program: picv
// Purpose: picture vault
// Authors: Tong Sun (c) 2017, All rights reserved
////////////////////////////////////////////////////////////////////////////
package main
import (
"fmt"
"github.com/mkideal/cli"
)
////////////////////////////////////////////////////////////////////////////
// Constant and data type/structure definitions
////////////////////////////////////////////////////////////////////////////
// arch
func archCLI(ctx *cli.Context) error {
rootArgv := ctx.RootArgv().(*rootT)
argv := ctx.Argv().(*archT)
fmt.Printf("[arch]:\n %+v\n %+v\n %v\n", rootArgv, argv, ctx.Args())
return nil
}