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 support for importing srcbooks from the hub#180

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
benjreinhart merged 1 commit intomainfromhub-import
Aug 15, 2024

Conversation

benjreinhart
Copy link
Contributor

This PR:

  1. Introduces a more robust CLI with support for importing srcbooks fromhttps://hub.srcbook.com.
  2. Removes the hardcoded localhost urls in the web package, which now means that we can configure port and leverage localhost aliases

CLI Examples:

npx srcbook startnpx srcbook start --port 5000# or -pnpx srcbook import<hub-id>npx srcbook import<hub-id> -p 5000# or --port

Main CLI help menu

Usage: srcbook [options] [command]Srcbook is a interactive programming environment for TypeScriptOptions:  -V, --version                 output the version number  -h, --help                    display help for commandCommands:  start [options]               Start the Srcbook server  import [options] <specifier>  Import a Srcbook  help [command]                display help for command

import command help menu

Usage: srcbook import [options] <specifier>Import a SrcbookArguments:  specifier          An identifier of a Srcbook on hub.srcbook.comOptions:  -p, --port <port>  Port of the server (default: "2150")  -h, --help         display help for command

@benjreinhartbenjreinhart merged commitbc3a612 intomainAug 15, 2024
1 check passed
@benjreinhartbenjreinhart deleted the hub-import branchAugust 15, 2024 20:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nichocharnichocharAwaiting requested review from nichochar

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@benjreinhart

[8]ページ先頭

©2009-2025 Movatter.jp