Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(cli/hosting): add path to listing #246
  • Loading branch information
mkucharz committed Aug 20, 2018
commit 4e791f7cf1668032a2240210efceab04d2e3be9d
3 changes: 3 additions & 0 deletions packages/cli/src/commands/hosting-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class HostingListCmd {
const cname = typeof hosting.getCnameURL === 'function' && hosting.getCnameURL()
echo(11)(`${format.dim('name')}: ${format.cyan(hosting.name)}`)

echon(2)(` ${format.dim('local path')}:`)
echo(` ${format.cyan(hosting.src)}`)

if (hosting.existRemotely) {
echo(12)(`${format.dim('URL')}: ${format.cyan(hosting.getURL())}`)
}
Expand Down