Skip to content

Commit

Permalink
Update usage instructions & README.md (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
vldmrkl committed Feb 13, 2021
2 parents 57d9651 + fba30c2 commit 3749d9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# airdrop-cli

This is a command line tool that allows you to share files with Apple devices using AirDrop from your terminal.
This is a command line tool that allows you to share files and URLs with Apple devices using AirDrop from your terminal.

## Installation
### Homebrew
Expand Down Expand Up @@ -31,4 +31,9 @@ To airdrop files, run:
airdrop /path/to/your/file
```

You can also airdrop URLs:
```
airdrop https://apple.com/
```

You can pass as many paths as you want. As long as theese file URLs are correct, the command will work.
2 changes: 1 addition & 1 deletion Sources/airdrop/ConsoleIO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ConsoleIO {
let executableName = (CommandLine.arguments[0] as NSString).lastPathComponent

writeMessage("usage: \(executableName) [<args>]")
writeMessage(" args – paths to files, which you you'd like to AirDrop")
writeMessage(" args – URLs or paths to files, which you'd like to AirDrop")
writeMessage("\nOPTIONS:")
writeMessage(" -h, --help – print help info")
}
Expand Down

0 comments on commit 3749d9f

Please sign in to comment.