Skip to content

London | 26-SDC-July | Kris Oldrini | Sprint 3 | Implement shell tools - #611

Open
XiaoQuark wants to merge 7 commits into
CodeYourFuture:mainfrom
XiaoQuark:implement-shell-tools
Open

London | 26-SDC-July | Kris Oldrini | Sprint 3 | Implement shell tools#611
XiaoQuark wants to merge 7 commits into
CodeYourFuture:mainfrom
XiaoQuark:implement-shell-tools

Conversation

@XiaoQuark

@XiaoQuark XiaoQuark commented Jul 27, 2026

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

  • Completed cat, ls and wc implementation in JavaScript.

Task ID: CYF-1150

@XiaoQuark XiaoQuark added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 27, 2026
@XiaoQuark XiaoQuark added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 27, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Aug 4, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work on these tasks, well organised code.I have some questions for you to push further

@@ -0,0 +1,53 @@
import process from "node:process";
import { promises as fs } from "node:fs";
import { Command } from "commander";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way you can get a program from commander directly?

import process from "node:process";
import fs, { truncate } from "node:fs";

const argv = process.argv.slice(2);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason you don't use the commander or parseargs api here?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants