obelisk
                                
                                 obelisk copied to clipboard
                                
                                    obelisk copied to clipboard
                            
                            
                            
                        Add support for specifying a path for archive resources
It is proposed the flag be marked -directory and the short flag -d.
I believe this is already achieved via the --output option. From the README (emphasis mine):
- If
--outputflag is not specified then Obelisk will generate file name for the archive and save it in current working directory.- If
--outputflag is set to-and there is only one URL to process (either from input file or from CLI arguments) then the default output will bestdout.- If
--outputflag is specified but there are more than one URL to process, Obelisk will generate file name for the archive, but keep using the directory from the specified output path.- If
--outputflag is specified but it sets to an existing directory, Obelisk will also generate file name for the archive.
Example usage:
obelisk "https://philipptanlak.com/web-frontends-in-go" --output blogs/go-frontend.html
I believe this is already achieved via the
--outputoption. From theREADME(emphasis mine):
- If
--outputflag is not specified then Obelisk will generate file name for the archive and save it in current working directory.- If
--outputflag is set to-and there is only one URL to process (either from input file or from CLI arguments) then the default output will bestdout.- If
--outputflag is specified but there are more than one URL to process, Obelisk will generate file name for the archive, but keep using the directory from the specified output path.- If
--outputflag is specified but it sets to an existing directory, Obelisk will also generate file name for the archive.Example usage:
obelisk "https://philipptanlak.com/web-frontends-in-go" --output blogs/go-frontend.html
You are right. The --output flag is used to archive a single file but separate files with Archiver.WrapDirectory.
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days