Documentation
¶
Index ¶
- func ClientFromCmd(cmd *cobra.Command) dune.DuneClient
- func SetClient(cmd *cobra.Command, client dune.DuneClient)
- func SetStartTime(cmd *cobra.Command, t time.Time)
- func SetTracker(cmd *cobra.Command, t *tracking.Tracker)
- func StartTimeFromCmd(cmd *cobra.Command) time.Time
- func TrackerFromCmd(cmd *cobra.Command) *tracking.Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientFromCmd ¶
func ClientFromCmd(cmd *cobra.Command) dune.DuneClient
ClientFromCmd extracts the DuneClient stored in the command's context.
func SetClient ¶
func SetClient(cmd *cobra.Command, client dune.DuneClient)
SetClient stores a DuneClient in the command's context.
func SetStartTime ¶ added in v0.1.1
SetStartTime stores the command start time in the command's context.
func SetTracker ¶ added in v0.1.1
SetTracker stores a Tracker in the command's context.
func StartTimeFromCmd ¶ added in v0.1.1
StartTimeFromCmd extracts the command start time from the command's context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.