Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commands ¶
type Commands struct {
Table TableCommand `cmd:""`
Key KeyCommand `cmd:""`
}
type KeyCommand ¶ added in v0.2.0
type KeyCommand struct {
From string `name:"from" enum:"json,gql,encoded,proto,auto" default:"auto" help:"Source key format"`
To string `name:"to" enum:"json,gql,encoded,proto" default:"encoded" help:"Result key format"`
Namespace string `short:"n" name:"namespace" help:"Override Cloud Datastore namespace" optional:""`
}
func (*KeyCommand) Run ¶ added in v0.2.0
func (r *KeyCommand) Run(ctx context.Context, opts command.GlobalOptions) error
type TableCommand ¶
type TableCommand struct {
From string `name:"from" short:"f" enum:"key,entity,explain" default:"entity" help:"Type of JSON structure to convert to table"`
}
func (*TableCommand) Run ¶
func (r *TableCommand) Run(ctx context.Context, opts command.GlobalOptions) error
Click to show internal directories.
Click to hide internal directories.