Skip to content

Commit 9770fb7

Browse files
authored
Move wallet:post -> wallet:transactions:post (#5251)
Making these commands consistent with our style guide
1 parent 7966996 commit 9770fb7

File tree

1 file changed

+7
-7
lines changed
  • ironfish-cli/src/commands/wallet/transactions

1 file changed

+7
-7
lines changed

ironfish-cli/src/commands/wallet/post.ts renamed to ironfish-cli/src/commands/wallet/transactions/post.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
44
import { RawTransactionSerde, RpcClient, Transaction } from '@ironfish/sdk'
55
import { Args, Flags, ux } from '@oclif/core'
6-
import { IronfishCommand } from '../../command'
7-
import { RemoteFlags } from '../../flags'
8-
import { confirmOrQuit } from '../../ui'
9-
import { longPrompt } from '../../utils/input'
10-
import { renderRawTransactionDetails } from '../../utils/transaction'
6+
import { IronfishCommand } from '../../../command'
7+
import { RemoteFlags } from '../../../flags'
8+
import { confirmOrQuit } from '../../../ui'
9+
import { longPrompt } from '../../../utils/input'
10+
import { renderRawTransactionDetails } from '../../../utils/transaction'
1111

12-
export class PostCommand extends IronfishCommand {
12+
export class TransactionsPostCommand extends IronfishCommand {
1313
static summary = 'Post a raw transaction'
1414

1515
static description = `Use this command to post a raw transaction.
@@ -45,7 +45,7 @@ export class PostCommand extends IronfishCommand {
4545
}
4646

4747
async start(): Promise<void> {
48-
const { flags, args } = await this.parse(PostCommand)
48+
const { flags, args } = await this.parse(TransactionsPostCommand)
4949
let transaction = args.transaction
5050

5151
if (!transaction) {

0 commit comments

Comments
 (0)