aboutsummaryrefslogtreecommitdiff
path: root/src/cli/create_command.zig
diff options
context:
space:
mode:
authorGravatar luke miles <luke@lukemil.es> 2022-01-02 03:09:51 -0800
committerGravatar GitHub <noreply@github.com> 2022-01-02 03:09:51 -0800
commit7f3384600550c65d38f6855e0fc8d919a624b31e (patch)
treef00549eb7469b3856f3ac6a296df808c8915f0fd /src/cli/create_command.zig
parent4afda10b82af917fb93284e24ea41d103310f245 (diff)
downloadbun-7f3384600550c65d38f6855e0fc8d919a624b31e.tar.gz
bun-7f3384600550c65d38f6855e0fc8d919a624b31e.tar.zst
bun-7f3384600550c65d38f6855e0fc8d919a624b31e.zip
copy: replace Bun with bun (#99)
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
Diffstat (limited to 'src/cli/create_command.zig')
-rw-r--r--src/cli/create_command.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/create_command.zig b/src/cli/create_command.zig
index a7d4a644c..aea498a5b 100644
--- a/src/cli/create_command.zig
+++ b/src/cli/create_command.zig
@@ -86,7 +86,7 @@ const UnsupportedPackages = struct {
pub fn print(this: UnsupportedPackages) void {
inline for (comptime std.meta.fieldNames(UnsupportedPackages)) |field_name| {
if (@field(this, field_name)) {
- Output.prettyErrorln("<r><yellow>warn<r><d>:<r> <b>\"{s}\"<r> won't work in Bun yet\n", .{field_name});
+ Output.prettyErrorln("<r><yellow>warn<r><d>:<r> <b>\"{s}\"<r> won't work in bun yet\n", .{field_name});
}
}
}
@@ -434,7 +434,7 @@ pub const CreateCommand = struct {
node.end();
progress.refresh();
- Output.prettyError("\n<r><red>error:<r> GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either:<r> <b>A) pass a <r><cyan>GITHUB_ACCESS_TOKEN<r> environment variable to Bun<r>\n <b>B)Wait a little and try again<r>\n", .{});
+ Output.prettyError("\n<r><red>error:<r> GitHub returned 403. This usually means GitHub is rate limiting your requests.\nTo fix this, either:<r> <b>A) pass a <r><cyan>GITHUB_ACCESS_TOKEN<r> environment variable to bun<r>\n <b>B)Wait a little and try again<r>\n", .{});
Global.crash();
},
@@ -1548,7 +1548,7 @@ pub const CreateCommand = struct {
Output.pretty(
\\
- \\<d>Come hang out in Bun's Discord: https://bun.sh/discord<r>
+ \\<d>Come hang out in bun's Discord: https://bun.sh/discord<r>
\\
, .{});
@@ -2118,7 +2118,7 @@ pub const CreateListExamplesCommand = struct {
const examples = try Example.fetchAllLocalAndRemote(ctx, node, &env_loader, filesystem);
Output.printStartEnd(time, std.time.nanoTimestamp());
Output.prettyln(" <d>Fetched manifest<r>", .{});
- Output.prettyln("Welcome to Bun! Create a new project by pasting any of the following:\n\n", .{});
+ Output.prettyln("Welcome to bun! Create a new project by pasting any of the following:\n\n", .{});
Output.flush();
Example.print(examples.items, null);