Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
chore: reorganized folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez committed Feb 11, 2024
1 parent a3d965d commit cb7510a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
tests:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
Expand Down
4 changes: 2 additions & 2 deletions bin/near-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ yargs // eslint-disable-line
.command(require('../commands/account/state'))
.command(require('../commands/contract/storage'))
.command(require('../commands/transactions/status'))
.command(require('../commands/transactions/stake'))
.command(require('../commands/validators'))
.command(require('../commands/validators/stake'))
.command(require('../commands/validators/validators'))
.command(require('../commands/contract/view'))
.command(require('../commands/deprecated'))
.option('verbose', { alias: ['v'], desc: 'Prints out verbose output', type: 'boolean', default: false })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const { DEFAULT_NETWORK } = require('../../config');

module.exports = {
command: 'validator-stake accountId stakingKey amount',
aliases: ['stake'],
desc: 'Create a staking transaction (for **validators** only)',
builder: (yargs) => yargs
.option('accountId', {
Expand Down
6 changes: 3 additions & 3 deletions commands/validators.js → commands/validators/validators.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { DEFAULT_NETWORK } = require('../config');
const connect = require('../utils/connect');
const validatorsInfo = require('../utils/validators-info');
const { DEFAULT_NETWORK } = require('../../config');
const connect = require('../../utils/connect');
const validatorsInfo = require('../../utils/validators-info');

module.exports = {
command: 'validators <search>',
Expand Down

0 comments on commit cb7510a

Please sign in to comment.