Skip to content

Commit

Permalink
changes root.go to main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikkuikel committed Feb 21, 2024
1 parent 8557903 commit b2a4a46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ ssh git.charm.sh -t soft-serve
ssh git.charm.sh repo tree soft-serve

# Print a specific file
ssh git.charm.sh repo blob soft-serve cmd/soft/root.go
ssh git.charm.sh repo blob soft-serve cmd/soft/main.go

# Print a file with syntax highlighting and line numbers
ssh git.charm.sh repo blob soft-serve cmd/soft/root.go -c -l
ssh git.charm.sh repo blob soft-serve cmd/soft/main.go -c -l
```

Or you can use Soft Serve to browse local repositories using `soft browse
Expand Down Expand Up @@ -607,14 +607,14 @@ ssh -p 23231 localhost repo tree soft-serve main server/config
From there, you can print individual files using the `repo blob` command:

```sh
ssh -p 23231 localhost repo blob soft-serve cmd/soft/root.go
ssh -p 23231 localhost repo blob soft-serve cmd/soft/main.go
```

You can add the `-c` flag to enable syntax coloring and `-l` to print line
numbers:

```sh
ssh -p 23231 localhost repo blob soft-serve cmd/soft/root.go -c -l
ssh -p 23231 localhost repo blob soft-serve cmd/soft/main.go -c -l

```

Expand Down

0 comments on commit b2a4a46

Please sign in to comment.