Skip to content

Commit aa7f916

Browse files
committed
fix migrated files
1 parent d4817ff commit aa7f916

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

internal/cli/manifest.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"path/filepath"
88

99
"github.com/pkg/errors"
10-
"github.com/readium/go-toolkit/cmd/rwp/cmd/helpers"
10+
"github.com/readium/cli/pkg/helpers"
1111
"github.com/readium/go-toolkit/pkg/asset"
1212
"github.com/readium/go-toolkit/pkg/fetcher"
1313
"github.com/readium/go-toolkit/pkg/manifest"
@@ -44,13 +44,13 @@ printed to stdout.
4444
4545
Examples:
4646
Print out a compact JSON RWPM.
47-
$ rwp manifest publication.epub
47+
$ readium manifest publication.epub
4848
4949
Pretty-print a JSON RWPM using two-space indent.
50-
$ rwp manifest --indent " " publication.epub
50+
$ readium manifest --indent " " publication.epub
5151
5252
Extract the publication title with ` + "`jq`" + `.
53-
$ rwp manifest publication.epub | jq -r .metadata.title
53+
$ readium manifest publication.epub | jq -r .metadata.title
5454
`,
5555
Args: func(cmd *cobra.Command, args []string) error {
5656
if len(args) == 0 {

internal/cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// rootCmd represents the base command when called without any subcommands
1111
var rootCmd = &cobra.Command{
12-
Use: "rwp",
12+
Use: "readium",
1313
Short: "Utilities for Readium Web Publications",
1414
Version: version.Version,
1515
}

internal/cli/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/aws/aws-sdk-go-v2/credentials"
1919
"github.com/aws/aws-sdk-go-v2/service/s3"
2020
"github.com/readium/cli/pkg/serve"
21-
"github.com/readium/go-toolkit/cmd/rwp/cmd/serve/client"
21+
"github.com/readium/cli/pkg/serve/client"
2222
"github.com/readium/go-toolkit/pkg/streamer"
2323
"github.com/spf13/cobra"
2424
"google.golang.org/api/option"

pkg/serve/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/gorilla/mux"
1919
httprange "github.com/gotd/contrib/http_range"
2020
"github.com/pkg/errors"
21-
"github.com/readium/go-toolkit/cmd/rwp/cmd/serve/cache"
21+
"github.com/readium/cli/pkg/serve/cache"
2222
"github.com/readium/go-toolkit/pkg/archive"
2323
"github.com/readium/go-toolkit/pkg/asset"
2424
"github.com/readium/go-toolkit/pkg/fetcher"

pkg/serve/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"cloud.google.com/go/storage"
88
"github.com/aws/aws-sdk-go-v2/service/s3"
99
"github.com/gorilla/mux"
10-
"github.com/readium/go-toolkit/cmd/rwp/cmd/serve/cache"
10+
"github.com/readium/cli/pkg/serve/cache"
1111
"github.com/readium/go-toolkit/pkg/archive"
1212
"github.com/readium/go-toolkit/pkg/streamer"
1313
)

0 commit comments

Comments
 (0)