Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
NativeScript
/
nativescript-cli
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
205
Star
1.1k
Code
Issues
356
Pull requests
17
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat(commands): defineCommand — typed declarative commands via an ICommand adapter
- #6101
#6101
Merged
NathanWalker
merged 9 commits into
main
NativeScript/nativescript-cli:main
from
feat/define-command
NativeScript/nativescript-cli:feat/define-command
Copy head branch name to clipboard
Aug 6, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
feat(commands): defineCommand — typed declarative commands via an ICommand adapter
#6101
NathanWalker
merged 9 commits into
main
NativeScript/nativescript-cli:main
from
feat/define-command
NativeScript/nativescript-cli:feat/define-command
Copy head branch name to clipboard
Commits
Commits on Aug 5, 2026
feat(commands): add defineCommand with typed options via an ICommand adapter
Show description for f29862a
edusperoni
committed
f29862a
View commit details
Copy full SHA for f29862a
Browse repository at this point
fix(commands): don't resolve the options service for option-less definitions
Show description for 15d95d2
edusperoni
committed
15d95d2
View commit details
Copy full SHA for 15d95d2
Browse repository at this point
test(commands): register hierarchical definitions on a local injector
Show description for 7ee7b34
edusperoni
committed
7ee7b34
View commit details
Copy full SHA for 7ee7b34
Browse repository at this point
refactor(commands): use the typed di bridge on IInjector
edusperoni
committed
1c6f260
View commit details
Copy full SHA for 1c6f260
Browse repository at this point
refactor(commands): the target injector IS the injection context
Show description for e005adf
edusperoni
committed
e005adf
View commit details
Copy full SHA for e005adf
Browse repository at this point
feat(commands): validate definitions at define time and compose the argument policy
Show description for bca21ff
edusperoni
committed
bca21ff
View commit details
Copy full SHA for bca21ff
Browse repository at this point
docs(commands): match defining-commands.md to the shipped behavior
Show description for 8160822
edusperoni
committed
8160822
View commit details
Copy full SHA for 8160822
Browse repository at this point
feat(commands): add ctx.fail and warn on colliding option aliases
Show description for d712a4e
edusperoni
committed
d712a4e
View commit details
Copy full SHA for d712a4e
Browse repository at this point
Commits on Aug 6, 2026
Merge remote-tracking branch 'origin/main' into feat/define-command
Show description for 86b4762
Copilot
and
NathanWalker
authored
86b4762
View commit details
Copy full SHA for 86b4762
Browse repository at this point
You can’t perform that action at this time.