Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.0.0-37] - 2026-03-30

## [4.0.0-36] - 2026-03-30

## [4.0.0-35] - 2026-03-30

## [4.0.0-34] - 2026-03-27

## [4.0.0-33] - 2026-03-27
Expand Down Expand Up @@ -2231,7 +2237,10 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
- Fixed problem with adding connection profiles
- Miscellaneous bug fixes

[unreleased]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-34...HEAD
[unreleased]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-37...HEAD
[4.0.0-37]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-36...v4.0.0-37
[4.0.0-36]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-35...v4.0.0-36
[4.0.0-35]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-34...v4.0.0-35
[4.0.0-34]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-33...v4.0.0-34
[4.0.0-33]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-32...v4.0.0-33
[4.0.0-32]: https://github.com/rockcarver/frodo-cli/compare/v4.0.0-31...v4.0.0-32
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockcarver/frodo-cli",
"version": "4.0.0-34",
"version": "4.0.0-37",
"type": "module",
"description": "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
"keywords": [
Expand Down Expand Up @@ -95,7 +95,7 @@
]
},
"devDependencies": {
"@rockcarver/frodo-lib": "4.0.0-33",
"@rockcarver/frodo-lib": "4.0.0-35",
"@types/colors": "^1.2.1",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.2.3",
Expand All @@ -107,7 +107,7 @@
"cli-progress": "^3.11.2",
"cli-table3": "^0.6.3",
"colors": "^1.4.0",
"commander": "^11.0.0",
"commander": "^14.0.3",
"compare-versions": "^6.1.0",
"copyfiles": "^2.4.1",
"deep-diff": "^1.0.2",
Expand All @@ -121,8 +121,8 @@
"eslint-plugin-simple-import-sort": "^12.1.1",
"fs-extra": "^11.1.1",
"jest": "^29.3.1",
"loglevel": "^1.9.1",
"log-update": "^4.0.0",
"loglevel": "^1.9.1",
"map-stream": "^0.0.7",
"prettier": "^3.0.3",
"properties-reader": "^2.2.0",
Expand Down
23 changes: 17 additions & 6 deletions src/app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { frodo, state } from '@rockcarver/frodo-lib';
import { Command } from 'commander';

// commands
import admin from './cli/admin/admin';
Expand All @@ -13,6 +12,14 @@ import conn from './cli/conn/conn';
import directConfigSession from './cli/dcc/dcc';
import email from './cli/email/email';
import esv from './cli/esv/esv';
// enable sample command template.
// import something from './cli/_template/something';
import {
formatGlobalEnvironmentVariables,
FrodoStubCommand,
isFullHelpRequested,
normalizeExpandedHelpArgv,
} from './cli/FrodoCommand';
import idm from './cli/idm/idm';
import idp from './cli/idp/idp';
import info from './cli/info/info';
Expand All @@ -30,8 +37,6 @@ import secretstore from './cli/secretstore/secretstore';
import server from './cli/server/server';
import service from './cli/service/service';
import shell from './cli/shell/shell';
// enable sample command template.
// import something from './cli/_template/something';
import theme from './cli/theme/theme';
import {
debugMessage,
Expand All @@ -46,6 +51,7 @@ const { initTokenCache } = frodo.cache;

// Temporary mitigation: silence runtime deprecation warnings from transitive deps.
process.noDeprecation = true;
process.argv = normalizeExpandedHelpArgv(process.argv);

(async () => {
try {
Expand All @@ -55,10 +61,15 @@ process.noDeprecation = true;
state.setDebugHandler(debugMessage);
state.setVerboseHandler(verboseMessage);

const program = new Command('frodo').version(
const program = new FrodoStubCommand('frodo').version(
await getVersions(false),
'-v, --version'
);
const utilitiesCommandsHeading = 'Utilities:';

program.addHelpText('after', () =>
isFullHelpRequested() ? formatGlobalEnvironmentVariables() : ''
);

printMessage(await getVersions(true), 'text', false);

Expand All @@ -72,7 +83,7 @@ process.noDeprecation = true;
program.addCommand(app());
program.addCommand(config());
program.addCommand(configManager());
program.addCommand(conn());
program.addCommand(conn().helpGroup(utilitiesCommandsHeading));
program.addCommand(directConfigSession());
program.addCommand(email());
program.addCommand(esv());
Expand All @@ -92,7 +103,7 @@ process.noDeprecation = true;
program.addCommand(secretstore());
program.addCommand(server());
program.addCommand(service());
program.addCommand(shell());
program.addCommand(shell().helpGroup(utilitiesCommandsHeading));
program.addCommand(theme());
// enable sample command template.
// program.addCommand(something());
Expand Down
Loading
Loading