Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gimme-dots

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gimme-dots - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

workflow.gif

9

lib/cli.js

@@ -27,3 +27,3 @@ 'use strict';

dots.saveDots(flags.bundle, args.slice(1, args.length));
dots.save(flags.bundle, args.slice(1, args.length));
break;

@@ -33,5 +33,10 @@

dots.getDots(args[1]);
dots.get(args[1]);
break;
case 'list':
dots.list();
break;
}
});

@@ -50,6 +50,18 @@ 'use strict';

function listDots() {
fs.readdir(utils.dotsHome, function (err, dots) {
utils.handleError(err);
console.log(dots.reduce(function (agg, dot) {
return agg + '\n' + dot;
}));
});
}
module.exports = {
saveDots: handleDots.bind(this, false),
getDots: function (dir) {
save: handleDots.bind(this, false),
get: function (dir) {

@@ -61,3 +73,4 @@ fs.readdir(homeDot(dir || 'default'), function (err, dots) {

});
}
},
list: listDots
};
{
"name": "gimme-dots",
"version": "1.0.1",
"version": "1.0.2",
"description": "Gimme my dotfiles! Store your common dotfiles and request them into your new project.",

@@ -5,0 +5,0 @@ "bin": {

@@ -13,2 +13,4 @@ # Gimme my dotfiles!

![terminal workflow gif](workflow.gif)
Dotfiles are stored in bundles within `~/.dots` dir.

@@ -27,1 +29,6 @@

*If no name specified, `dots` will use `default` bundle.*
List all bundles:
```
dots list
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc