Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Butler Help

A topic by Ink Ribbon created May 13, 2019 Views: 1,167 Replies: 1
Viewing posts 1 to 2
(+7)

I am really sorry to post but I need help. I'm NOT a programmer and I'm really struggling to figure this out. I got butler going but the push stuff I can't understand. this is what the command prompt sent back:

Microsoft Windows [Version 10.0.17134.706]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\Kai>butler -V
v15.12.0, built on Apr 26 2019 @ 17:38:10, ref 4baabbcdc78269e996c3eaef3ec8da4c72c29aac

C:\Users\Kai>butler login

      ..........................
    ':cccclooooolcccccloooooocccc:,.
  ':cccccooooooolccccccooooooolccccc,.
 ,;;;;;;cllllllc:;;;;;;clllllll:;;;;;;.
 ,,,,,,,;cccccc;,,,,,,,,cccccc:,,,,,,,.
 .',,,'..':cc:,...,,,'...;cc:,...',,'.
   .,;:dxl;,;;cxdc,,,;okl;,,,:odc,,,.
   ,kkkkkx:'..'okkkkkkxxo'...;oxxxxx,
   ,kkkk:       ...''...       ,dxxx,
   ,kkk:          .:c'          'xxx;
   ,kko         .,ccc:;.         :xx;
   ,kx.         .,;;,,'..         cl'
   ,kc           .''''.           'l'
   ,x.       ..............       .l'
   ,x'      ,oddddddddoolcc,      .l'
   'xo,...;ldxxxxxxxdollllllc;...'cl'
   .:ccc:ccccccccc:;;;;;;;;;;;;;;;;,.

Welcome to the itch.io command-line tools!
If it hasn't already, open the following link in your browser to authenticate:
https://itch.io/user/oauth?client_id=butler&redirect_uri=http%3A%2F%2F127.0.0.1%...

(To copy text in cmd.exe: Alt+Space, Edit->Mark, select text, press Enter)

If you're running this on a remote server, the redirect will fail to load.
In that case, copy the address you're redirected to, paste it below, and press enter.

Authenticated successfully! Saving key in C:\Users\Kai\.config\itch\butler_creds...

C:\Users\Kai>butler push
butler: error: required argument 'src' not provided

usage: butler push [<flags>] <src> <target>

Upload a new build to itch.io. See `butler help push`.

Flags:
  -h, --help                     Show context-sensitive help (also try
                                 --help-long and --help-man).
  -v, --verbose                  Be very chatty about what's happening
      --assume-yes               Don't ask questions, just proceed (at your own
                                 risk!)
  -i, --identity="C:\\Users\\Kai\\.config\\itch\\butler_creds"
                                 Path to your itch.io API token
      --ignore=IGNORE ...        Glob patterns of files to ignore when pushing
                                 or diffing
  -V, --version                  Show application version.
      --userversion=USERVERSION  A user-supplied version number that you can
                                 later query builds by
      --userversion-file=USERVERSION-FILE
                                 A file containing a user-supplied version
                                 number that you can later query builds by
      --fix-permissions          Detect Mac & Linux executables and adjust their
                                 permissions automatically
      --dereference              Dereference symlinks
      --if-changed               Don't push anything if it would be an empty
                                 patch
      --dry-run                  Don't push anything, just show what would be
                                 pushed
      --auto-wrap                Apply workaround for
                                 https://github.com/itchio/itch/issues/2147

Args:
  <src>     Directory to upload. May also be a zip archive (slower)
  <target>  Where to push, for example 'leafo/x-moon:win-64'. Targets are of the
            form project:channel, where project is username/game or game_id.

C:\Users\Kai>desktop
'desktop' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Kai>Desktop/Who Could That Be - demo
'Desktop' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Kai>butler push C:\Users\Kai\Documents\Unreal Projects\Who_could_that_be https://ink-ribbon.itch.io/who-could-that-be
butler: error: unexpected https://ink-ribbon.itch.io/who-could-that-be

usage: butler push [<flags>] <src> <target>

Upload a new build to itch.io. See `butler help push`.

Flags:
  -h, --help                     Show context-sensitive help (also try
                                 --help-long and --help-man).
  -v, --verbose                  Be very chatty about what's happening
      --assume-yes               Don't ask questions, just proceed (at your own
                                 risk!)
  -i, --identity="C:\\Users\\Kai\\.config\\itch\\butler_creds"
                                 Path to your itch.io API token
      --ignore=IGNORE ...        Glob patterns of files to ignore when pushing
                                 or diffing
  -V, --version                  Show application version.
      --userversion=USERVERSION  A user-supplied version number that you can
                                 later query builds by
      --userversion-file=USERVERSION-FILE
                                 A file containing a user-supplied version
                                 number that you can later query builds by
      --fix-permissions          Detect Mac & Linux executables and adjust their
                                 permissions automatically
      --dereference              Dereference symlinks
      --if-changed               Don't push anything if it would be an empty
                                 patch
      --dry-run                  Don't push anything, just show what would be
                                 pushed
      --auto-wrap                Apply workaround for
                                 https://github.com/itchio/itch/issues/2147

Args:
  <src>     Directory to upload. May also be a zip archive (slower)
  <target>  Where to push, for example 'leafo/x-moon:win-64'. Targets are of the
            form project:channel, where project is username/game or game_id.

(+1)

There's a space in your path. Also, the target is `user/game`, not an URL.

The correct command is:

butler push "C:\Users\Kai\Documents\Unreal Projects\Who_could_that_be" ink-ribbon/who-could-that-be