Skip to content

Commit

Permalink
Package docs
Browse files Browse the repository at this point in the history
  • Loading branch information
efixler committed Apr 17, 2024
1 parent 7409909 commit e56a6e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/scrape-server/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// scrape-server launches the `scrape` url fetching and metadata service.
//
// When run without any arguments, the service will start on port 8080
// and use a local SQLite database.
//
// For full documentation on launch options invoke `scrape-server` with the -h flag.
package main

import (
Expand Down
9 changes: 9 additions & 0 deletions cmd/scrape/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Use the `scrape` command line tool to fetch and
// extract metadata from urls and to set up and maintain
// the `scrape` database.
//
// The basic invocation form is:
//
// > scrape https://example.com/path
//
// Run `scrape -h` for complete help and command line options.
package main

import (
Expand Down

0 comments on commit e56a6e9

Please sign in to comment.