Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add 'ls' command to list available project templates#6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@mythz
Copy link
Member

Features:

  • List all templates from NetCoreTemplates and NetFrameworkTemplates
  • List templates from a specific organization: npx create-net ls
  • Display templates in 2-column format: name and description
  • Fetch data from GitHub API with proper error handling
  • Sort repositories by last updated
  • Bold section headers and formatted output

Command usage:
npx create-net ls # List all default templates
npx create-net ls NetFrameworkTemplates # List specific org templates

Implementation:

  • Add fetchJSON() function to retrieve data from GitHub API
  • Add listTemplates() function with optional organization parameter
  • Update help text to include ls command
  • Handle both 'ls' and 'list' commands
  • Graceful error handling for network issues

Documentation:

  • Update README with ls command examples
  • Add Commands section to README
  • Show usage examples for both listing and creating

Features:- List all templates from NetCoreTemplates and NetFrameworkTemplates- List templates from a specific organization: npx create-net ls <org>- Display templates in 2-column format: name and description- Fetch data from GitHub API with proper error handling- Sort repositories by last updated- Bold section headers and formatted outputCommand usage:  npx create-net ls                      # List all default templates  npx create-net ls NetFrameworkTemplates # List specific org templatesImplementation:- Add fetchJSON() function to retrieve data from GitHub API- Add listTemplates() function with optional organization parameter- Update help text to include ls command- Handle both 'ls' and 'list' commands- Graceful error handling for network issuesDocumentation:- Update README with ls command examples- Add Commands section to README- Show usage examples for both listing and creating
@mythzmythz merged commit1a9e49f intomainNov 22, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@mythz@claude

[8]ページ先頭

©2009-2025 Movatter.jp