Skip to content

Commit 618886e

Browse files
committed
fix: ci build failed
1 parent a1ec52d commit 618886e

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

internal/cli/root.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Get started:
3030
lpagent auth set-key Set your API key
3131
lpagent positions opening --owner <wallet> View open positions
3232
lpagent pools discover Discover pools`,
33-
Version: fmt.Sprintf("%s (commit: %s, built: %s)", version.Version, version.Commit, version.Date),
34-
SilenceUsage: true,
35-
SilenceErrors: true,
33+
Version: fmt.Sprintf("%s (commit: %s, built: %s)", version.Version, version.Commit, version.Date),
34+
SilenceUsage: true,
35+
SilenceErrors: true,
3636
SuggestionsMinimumDistance: 2,
3737
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
3838
// Skip auth setup for auth commands and version/help

internal/commands/pools.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ func newPoolsDiscoverCmd() *cobra.Command {
164164

165165
func newPoolsInfoCmd() *cobra.Command {
166166
return &cobra.Command{
167-
Use: "info <poolId>",
168-
Short: "Get detailed information for a pool",
169-
Args: cobra.ExactArgs(1),
167+
Use: "info <poolId>",
168+
Short: "Get detailed information for a pool",
169+
Args: cobra.ExactArgs(1),
170170
Example: ` lpagent pools info 2DeF1QHAQMpNXCGjcsm2pWw1V4KknGtwd2wEh2fTriKC`,
171171
RunE: func(cmd *cobra.Command, args []string) error {
172172
app := appctx.FromContext(cmd.Context())
@@ -254,9 +254,9 @@ func newPoolsPositionsCmd() *cobra.Command {
254254

255255
func newPoolsOnchainStatsCmd() *cobra.Command {
256256
return &cobra.Command{
257-
Use: "onchain-stats <poolId>",
258-
Short: "Get onchain statistics for a pool",
259-
Args: cobra.ExactArgs(1),
257+
Use: "onchain-stats <poolId>",
258+
Short: "Get onchain statistics for a pool",
259+
Args: cobra.ExactArgs(1),
260260
Example: ` lpagent pools onchain-stats 2DeF1QHAQMpNXCGjcsm2pWw1V4KknGtwd2wEh2fTriKC`,
261261
RunE: func(cmd *cobra.Command, args []string) error {
262262
app := appctx.FromContext(cmd.Context())
@@ -274,9 +274,9 @@ func newPoolsOnchainStatsCmd() *cobra.Command {
274274

275275
func newPoolsTopLPersCmd() *cobra.Command {
276276
return &cobra.Command{
277-
Use: "top-lpers <poolId>",
278-
Short: "Get top liquidity providers for a pool",
279-
Args: cobra.ExactArgs(1),
277+
Use: "top-lpers <poolId>",
278+
Short: "Get top liquidity providers for a pool",
279+
Args: cobra.ExactArgs(1),
280280
Example: ` lpagent pools top-lpers 2DeF1QHAQMpNXCGjcsm2pWw1V4KknGtwd2wEh2fTriKC -o table`,
281281
RunE: func(cmd *cobra.Command, args []string) error {
282282
app := appctx.FromContext(cmd.Context())

internal/commands/positions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ func newPositionsGetCmd() *cobra.Command {
488488
var position string
489489

490490
cmd := &cobra.Command{
491-
Use: "get",
492-
Short: "Get details for a specific position",
491+
Use: "get",
492+
Short: "Get details for a specific position",
493493
Example: ` lpagent positions get --position Ep22EwKegXis3bTC6P8JLgsHaT5J2beM2TncKe2Hmv24`,
494494
RunE: func(cmd *cobra.Command, args []string) error {
495495
if position == "" {

internal/commands/tx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ func newTxDecreaseQuotesCmd() *cobra.Command {
3131
)
3232

3333
cmd := &cobra.Command{
34-
Use: "decrease-quotes",
35-
Short: "Get quotes for withdrawing liquidity from a position",
34+
Use: "decrease-quotes",
35+
Short: "Get quotes for withdrawing liquidity from a position",
3636
Example: ` lpagent tx decrease-quotes --id <encrypted-position-id> --bps 5000`,
3737
RunE: func(cmd *cobra.Command, args []string) error {
3838
if id == "" {

internal/output/output.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ type Column struct {
1414
}
1515

1616
type TableOptions struct {
17-
Columns []Column
18-
RowFunc func(row map[string]any) []string
17+
Columns []Column
18+
RowFunc func(row map[string]any) []string
1919
SummaryFunc func(rows []map[string]any) string
2020
}
2121

0 commit comments

Comments
 (0)