René's URL Explorer Experiment


Title: feat(commands): add `ns live` by NathanWalker · Pull Request #6184 · NativeScript/nativescript-cli · GitHub

Open Graph Title: feat(commands): add `ns live` by NathanWalker · Pull Request #6184 · NativeScript/nativescript-cli

X Title: feat(commands): add `ns live` by NathanWalker · Pull Request #6184 · NativeScript/nativescript-cli

Description: Summary ns live [--mac | --electron] [--new] [--no-open] [--allow-eval] [--token ] LiveCommand.run npx --yes @nativescript/edge-cli@latest live creates a project on preview.nativescript.org, or reopens this folder's (.ns-edge.json) opens its browser IDE phone: prints a QR code for NativeScript Preview --mac / --electron: runs the app on this Mac, streamed into the IDE non-zero exit -> ctx.fail("ns live exited with code N.", { help: false }) ns live is the one-command entry point for live NativeScript projects on Cloudflare (ns-edge). It forwards to @nativescript/edge-cli, the same way ns preview forwards to @nativescript/preview-cli. People without the NativeScript CLI get the same thing with npx nativescript live or npx @nativescript/edge-cli live. lib/ ├── bootstrap.ts # registerBuiltInCommand("live", …) +├── commands/live.ts # Command({ name: "live", params: "any", allowUnknownOptions: true }) docs/man_pages/project/testing/ +└── live.md test/commands/ +└── live.ts Questions for review (why this is a draft): @latest or a pinned version? @latest ships live-CLI fixes without a NativeScript CLI release. A pin makes a given ns version reproducible. npx or install? ns preview installs its CLI into the project. ns live needs no project and is usually run from an empty folder, so it uses npx and npm's cache. Evidence Tests: test/commands/live.ts covers both paths: ns live --mac --new spawns npx --yes @nativescript/edge-cli@latest live --mac --new. A non-zero exit fails with ns live exited with code 1. Against the published live CLI, from an empty folder: $ ns live --ios --ios isn't available yet. Run `live` for a phone app or `live --mac` for a Mac app. ns live exited with code 1. The live CLI itself, checked on production: live, live --mac and live --electron each created a free project from an empty folder. The phone project printed a QR code for NativeScript Preview. The Mac app rendered in 259 ms. The Electron app rendered in 2.4 s and streamed to the IDE at 25 fps. ns live --help renders the new man page. Merge Danger Door: two-way A new command name; nothing existing changes. Blast Radius: additive live becomes a reserved command name, so an extension that registers its own live command would now collide with it.

Open Graph Description: Summary ns live [--mac | --electron] [--new] [--no-open] [--allow-eval] [--token <t>] LiveCommand.run npx --yes @nativescript/edge-cli@latest live <the rest of argv> creates...

X Description: Summary ns live [--mac | --electron] [--new] [--no-open] [--allow-eval] [--token &lt;t&gt;] LiveCommand.run npx --yes @nativescript/edge-cli@latest live &lt;the rest of argv&g...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6184

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dbd3e4ef-6fd2-091d-8e37-bb3199cb50c9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DBE:25598F:185F218:20291AF:6B013FAE
html-safe-nonceea281ab452a16bef489d2b75b2c2b597512267a4ec3678749c38918aedf6e452
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REJFOjI1NTk4RjoxODVGMjE4OjIwMjkxQUY6NkIwMTNGQUUiLCJ2aXNpdG9yX2lkIjoiNDM1Mzg0Mzk2MzYxOTI2MjM4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac85a12000dfee4449e9699b96a817dc21fd293c31c9d0807b34e206845645d77c
hovercard-subject-tagpull_request:5095210749
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6184/files
twitter:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
og:image:altSummary ns live [--mac | --electron] [--new] [--no-open] [--allow-eval] [--token <t>] LiveCommand.run npx --yes @nativescript/edge-cli@latest live <the rest of argv> creates...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6184/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6184%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6184%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6184/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6184/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6184/files
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests37 (37)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
feat/live-commandhttps://github.com/NativeScript/nativescript-cli/tree/feat/live-command
Conversation 1 https://github.com/NativeScript/nativescript-cli/pull/6184
Commits 2 https://github.com/NativeScript/nativescript-cli/pull/6184/commits
Checks 12 https://github.com/NativeScript/nativescript-cli/pull/6184/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6184/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6184/files
feat(commands): add ns live https://github.com/NativeScript/nativescript-cli/pull/6184/files#top
Show all changes 2 commits https://github.com/NativeScript/nativescript-cli/pull/6184/files
fefb984 feat(commands): add `ns live` NathanWalker Oct 31, 2026 https://github.com/NativeScript/nativescript-cli/pull/6184/commits/fefb98438267eb560dcfc7d24ce561ce9fa9e3ea
3b52ffa chore(live): forward to @nativescript/edge-cli, the renamed package NathanWalker Nov 12, 2026 https://github.com/NativeScript/nativescript-cli/pull/6184/commits/3b52ffa06b11265ff3c988c819c8bc21243ea671
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6184/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6184/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6184/files
live.md https://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-9336f18e67d8c886a46cd8237b88f90acd4b6e436ba3d01933ddfd7ca767ac72
bootstrap.ts https://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
live.ts https://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-aebc653bc4324310039faacd2a9be208df2ebed07332fe54c684c4d8e9426e03
live.ts https://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-a5c09b39a106ecd783bd80774f6a5774096cd935513d3e07dbfa552d2c637d84
docs/man_pages/project/testing/live.mdhttps://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-9336f18e67d8c886a46cd8237b88f90acd4b6e436ba3d01933ddfd7ca767ac72
View file https://github.com/NativeScript/nativescript-cli/blob/3b52ffa06b11265ff3c988c819c8bc21243ea671/docs/man_pages/project/testing/live.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6184/{{ revealButtonHref }}
lib/bootstrap.tshttps://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
View file https://github.com/NativeScript/nativescript-cli/blob/3b52ffa06b11265ff3c988c819c8bc21243ea671/lib/bootstrap.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6184/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
https://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-359198637d61ef2f720ea4bafa8777ea98ea51be2762a13f83e15d83c84b33fb
lib/commands/live.tshttps://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-aebc653bc4324310039faacd2a9be208df2ebed07332fe54c684c4d8e9426e03
View file https://github.com/NativeScript/nativescript-cli/blob/3b52ffa06b11265ff3c988c819c8bc21243ea671/lib/commands/live.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6184/{{ revealButtonHref }}
test/commands/live.tshttps://github.com/NativeScript/nativescript-cli/pull/6184/files#diff-a5c09b39a106ecd783bd80774f6a5774096cd935513d3e07dbfa552d2c637d84
View file https://github.com/NativeScript/nativescript-cli/blob/3b52ffa06b11265ff3c988c819c8bc21243ea671/test/commands/live.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6184/{{ revealButtonHref }}
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6184/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.