ardent-cli 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -227,6 +227,7 @@ function isPermissionError(err) {
227
227
  // src/commands/branch/create.ts
228
228
  async function createAction(name, options) {
229
229
  try {
230
+ const startTime = performance.now();
230
231
  const job = await api.post("/v1/cli/jobs/create", {
231
232
  name
232
233
  });
@@ -254,7 +255,8 @@ async function createAction(name, options) {
254
255
  cachedBranches.push(branch);
255
256
  setCacheEntry("branches", cachedBranches);
256
257
  setCurrentBranch(name);
257
- console.log(`\u2713 Branch '${name}' created and checked out`);
258
+ const elapsed = ((performance.now() - startTime) / 1e3).toFixed(1);
259
+ console.log(`\u2713 Branch '${name}' created and checked out in ${elapsed}s`);
258
260
  if (branch.branch_url) {
259
261
  console.log(`
260
262
  ${branch.branch_url}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ardent-cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Git for Data infrastructure",
5
5
  "type": "module",
6
6
  "bin": {