Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update dfx project creation output #4001

Merged
merged 4 commits into from
Nov 18, 2024
Merged

Conversation

lwshang
Copy link
Contributor

@lwshang lwshang commented Nov 18, 2024

SDK-1895

Description

  • Don'r show the CREATE ... log unless in verbose mode
  • Simplify the welcome message
    • Remove the giant logo
    • only show two links to docs and samples
  • Creating Initializing git repository...
$ dfx new hello --no-frontend --type motoko
Fetching manifest https://sdk.dfinity.org/manifest.json
Creating new project "hello"...
Initializing git repository...
===============================================================================
        Welcome to the internet computer developer community!

To learn more before you start coding, check out the developer docs and samples:

- Documentation: https://internetcomputer.org/docs/current/developer-docs
- Samples: https://internetcomputer.org/samples
===============================================================================

$ dfx new hello --no-frontend --type motoko -vvv
Trace mode enabled. Lots of logs coming up.
Fetching manifest https://sdk.dfinity.org/manifest.json
Creating new project "hello"...
CREATE       hello/dfx.json (179B)...
CREATE       hello/.gitignore (260B)...
CREATE       hello/README.md (2.45KiB)...
CREATE       hello/src/hello_backend/main.mo (105B)...
Initializing git repository...
===============================================================================
        Welcome to the internet computer developer community!

To learn more before you start coding, check out the developer docs and samples:

- Documentation: https://internetcomputer.org/docs/current/developer-docs
- Samples: https://internetcomputer.org/samples
===============================================================================

@lwshang lwshang marked this pull request as ready for review November 18, 2024 18:21
@lwshang lwshang requested a review from a team as a code owner November 18, 2024 18:21
@lwshang lwshang changed the title feat: minimize output when dfx new feat: Update dfx project creation output Nov 18, 2024
@lwshang lwshang enabled auto-merge (squash) November 18, 2024 18:32
@lwshang lwshang merged commit c497d76 into master Nov 18, 2024
298 checks passed
@lwshang lwshang deleted the lwshang/minimize_new branch November 18, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants